public interface MethodD extends ExecutableD, HasNameD, HasTypeD
An annotation element MUST be a MethodD because annotation types may be extended/implemented where an annotation element will be treated like an ordinary interface method.
Declaration.DeclarationKind| Modifier and Type | Method and Description | 
|---|---|
java.lang.Object | 
getDefaultValue()
Gets the default value, null if this is not an annotation
 element. 
 | 
TypeD | 
getReturnType()
Gets the return type. 
 | 
boolean | 
isAbstract()
True if this is modified with "abstract". 
 | 
boolean | 
isAnnotationElement()
True if this is an annotation element. 
 | 
boolean | 
isBridge()
True if marked as a bridge method. 
 | 
boolean | 
isNative()
True if this is modified with "native". 
 | 
boolean | 
isStrictfp()
True if this is modified with "strictfp". 
 | 
boolean | 
isSynchronized()
True if this is modified with "synchronized". 
 | 
getExceptionTypes, getParameters, getParameterTypes, isVarArgsgetTypeParametersgetEnclosingClass, getModifiers, isFinal, isPrivate, isProtected, isPublic, isStaticgetDeclarationKind, getPosition, isSyntheticgetAnnotationsboolean isAnnotationElement()
boolean isSynchronized()
boolean isBridge()
boolean isNative()
boolean isAbstract()
boolean isStrictfp()
java.lang.Object getDefaultValue()
TypeD getReturnType()