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, IBinaryInfo, IBinaryMethod, IElementInfo, IGenericMethod
- Direct Known Subclasses:
AnnotationMethodInfoWithAnnotations
-
Field Summary
FieldsFields inherited from class MethodInfo
accessFlags, argumentNames, attributeBytes, descriptor, exceptionNames, name, signature, signatureUtf8Offset, tagBits, version -
Method Summary
Modifier and TypeMethodDescriptionstatic MethodInfocreateAnnotationMethod(byte[] classFileBytes, int[] offsets, int offset, long version) ReturnClassSignaturefor a ClassClass.Methods inherited from class MethodInfo
compareTo, createMethod, equals, getAnnotatedParametersCount, getAnnotations, getArgumentNames, getExceptionTypeNames, getGenericSignature, getMethodDescriptor, getModifiers, getParameterAnnotations, getSelector, getTagBits, getTypeAnnotations, hashCode, initialize, isClinit, isConstructor, isSynthetic, sizeInBytes, toString, toStringContentMethods inherited from class ClassFileStruct
doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8AtMethods inherited from interface IBinaryMethod
getParameterCount
-
Field Details
-
defaultValue
-
-
Method Details
-
createAnnotationMethod
public static MethodInfo createAnnotationMethod(byte[] classFileBytes, int[] offsets, int offset, long version) -
getDefaultValue
Description copied from interface:IBinaryMethodReturnClassSignaturefor a ClassClass. ReturnConstantfor compile-time constant of primitive type, as well as String literals. ReturnEnumConstantSignatureif value is an enum constant. ReturnIBinaryAnnotationfor annotation type. ReturnObject[] for array type.- Specified by:
getDefaultValuein interfaceIBinaryMethod- Overrides:
getDefaultValuein classMethodInfo- Returns:
- default value of this annotation method
-