|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MethodMetadata
Interface that defines abstract access to the annotations of a specific class, in a form that does not require that class to be loaded yet.
StandardMethodMetadata,
AnnotationMetadata.getAnnotatedMethods(java.lang.String)| Method Summary | |
|---|---|
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'. |
| Method Detail |
|---|
String getMethodName()
String getDeclaringClassName()
boolean isStatic()
boolean isFinal()
boolean isOverridable()
boolean isAnnotated(String annotationType)
annotationType - the annotation type to look for
Map<String,Object> getAnnotationAttributes(String annotationType)
annotationType - the annotation type to look for
null if no matching annotation is defined.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||