|
|||||||||
| 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()| Method Summary | |
|---|---|
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.util.Set<java.lang.String> |
getAnnotationTypes()
Return the names of all annotation types defined on the underlying method. |
java.lang.String |
getMethodName()
Return the name of the method. |
boolean |
hasAnnotation(java.lang.String annotationType)
Determine whether the underlying method has an 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 |
|---|
java.lang.String getMethodName()
boolean isStatic()
boolean isFinal()
boolean isOverridable()
java.util.Set<java.lang.String> getAnnotationTypes()
boolean hasAnnotation(java.lang.String annotationType)
annotationType - the annotation type to look for
java.util.Map<java.lang.String,java.lang.Object> getAnnotationAttributes(java.lang.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 | ||||||||