public interface MethodMetadata
StandardMethodMetadata
,
AnnotationMetadata.getAnnotatedMethods(java.lang.String)
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAnnotationAttributes(java.lang.String annotationType)
Retrieve the attributes of the annotation of the given type,
if any (i.e.
|
java.lang.String |
getDeclaringClassName()
Return the fully-qualified name of the class that declares this method.
|
java.lang.String |
getMethodName()
Return the name of the method.
|
boolean |
isAnnotated(java.lang.String annotationType)
Determine whether the underlying method has an annotation or
meta-annotation of the given type defined.
|
boolean |
isFinal()
Return whether the underlying method is marked as 'final'.
|
boolean |
isOverridable()
Return whether the underlying method is overridable,
i.e.
|
boolean |
isStatic()
Return whether the underlying method is declared as 'static'.
|
java.lang.String getMethodName()
java.lang.String getDeclaringClassName()
boolean isStatic()
boolean isFinal()
boolean isOverridable()
boolean isAnnotated(java.lang.String annotationType)
annotationType
- the annotation type to look forjava.util.Map<java.lang.String,java.lang.Object> getAnnotationAttributes(java.lang.String annotationType)
annotationType
- the annotation type to look fornull
if no matching annotation is defined.