Modifier and Type | Method and Description |
---|---|
Annotation |
Field.getAnnotation(ClassName annotationClass)
Returns the annotation for a specified annotation type, or null if
no annotation of that type exists for this field.
|
Annotation |
ClassFile.getAnnotation(ClassName annotationClass)
Returns the annotation for a specified annotation type, or null if
no annotation of that type exists for this class.
|
Annotation |
NestedElementValue.getNestedValue()
Returns the value of this component, which is an Annotation.
|