Class AnnotationMethodInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.AnnotationMethodInfo
- All Implemented Interfaces:
Comparable
,IBinaryMethod
,IGenericMethod
- Direct Known Subclasses:
AnnotationMethodInfoWithAnnotations
-
Field Summary
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
accessFlags, argumentNames, attributeBytes, descriptor, exceptionNames, name, signature, signatureUtf8Offset, tagBits, version
-
Method Summary
Modifier and TypeMethodDescriptionstatic MethodInfo
createAnnotationMethod(byte[] classFileBytes, int[] offsets, int offset, long version)
ReturnClassSignature
for a ClassClass
.Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
compareTo, createMethod, equals, getAnnotatedParametersCount, getAnnotations, getArgumentNames, getExceptionTypeNames, getGenericSignature, getMethodDescriptor, getModifiers, getParameterAnnotations, getSelector, getTagBits, getTypeAnnotations, hashCode, initialize, isClinit, isConstructor, isSynthetic, sizeInBytes, toString, toStringContent
-
Field Details
-
defaultValue
-
-
Method Details
-
createAnnotationMethod
public static MethodInfo createAnnotationMethod(byte[] classFileBytes, int[] offsets, int offset, long version) -
getDefaultValue
Description copied from interface:IBinaryMethod
ReturnClassSignature
for a ClassClass
. ReturnConstant
for compile-time constant of primitive type, as well as String literals. ReturnEnumConstantSignature
if value is an enum constant. ReturnIBinaryAnnotation
for annotation type. ReturnObject
[] for array type.- Specified by:
getDefaultValue
in interfaceIBinaryMethod
- Overrides:
getDefaultValue
in classMethodInfo
- Returns:
- default value of this annotation method
-