org.eclipse.jdt.internal.compiler.classfmt
Class AnnotationMethodInfo
java.lang.Object
org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
org.eclipse.jdt.internal.compiler.classfmt.AnnotationMethodInfo
- All Implemented Interfaces:
- Comparable, IBinaryMethod, IGenericMethod
- Direct Known Subclasses:
- AnnotationMethodInfoWithAnnotations
public class AnnotationMethodInfo
- extends MethodInfo
| Methods inherited from class org.eclipse.jdt.internal.compiler.classfmt.MethodInfo |
compareTo, createMethod, equals, getAnnotations, getArgumentNames, getExceptionTypeNames, getGenericSignature, getMethodDescriptor, getModifiers, getParameterAnnotations, getSelector, getTagBits, hashCode, initialize, isClinit, isConstructor, isSynthetic, sizeInBytes, toString |
defaultValue
protected Object defaultValue
createAnnotationMethod
public static MethodInfo createAnnotationMethod(byte[] classFileBytes,
int[] offsets,
int offset)
getDefaultValue
public Object getDefaultValue()
- Description copied from interface:
IBinaryMethod
- Return
ClassSignature for a Class Class.
Return Constant for compile-time constant of primitive type, as well as String literals.
Return EnumConstantSignature if value is an enum constant.
Return IBinaryAnnotation for annotation type.
Return Object[] for array type.
- Specified by:
getDefaultValue in interface IBinaryMethod- Overrides:
getDefaultValue in class MethodInfo
- Returns:
- default value of this annotation method
toStringContent
protected void toStringContent(StringBuffer buffer)
- Overrides:
toStringContent in class MethodInfo
Copyright © 2012. All Rights Reserved.