public interface MethodMetadata
StandardMethodMetadata
,
AnnotationMetadata.getAnnotatedMethods(java.lang.String)
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAnnotationAttributes(String annotationType)
Retrieve the attributes of the annotation of the given type,
if any (i.e.
|
String |
getDeclaringClassName()
Return the fully-qualified name of the class that declares this method.
|
String |
getMethodName()
Return the name of the method.
|
boolean |
isAnnotated(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'.
|
String getMethodName()
String getDeclaringClassName()
boolean isStatic()
boolean isFinal()
boolean isOverridable()
boolean isAnnotated(String annotationType)
annotationType
- the annotation type to look forMap<String,Object> getAnnotationAttributes(String annotationType)
annotationType
- the annotation type to look fornull
if no matching annotation is defined.