org.eclipse.jdt.internal.compiler.classfmt
Class AnnotationMethodInfo

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
      extended by org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
          extended by org.eclipse.jdt.internal.compiler.classfmt.AnnotationMethodInfo
All Implemented Interfaces:
java.lang.Comparable, IBinaryMethod, IGenericMethod
Direct Known Subclasses:
AnnotationMethodInfoWithAnnotations

public class AnnotationMethodInfo
extends MethodInfo


Method Summary
static MethodInfo createAnnotationMethod(byte[] classFileBytes, int[] offsets, int offset)
           
 java.lang.Object getDefaultValue()
          Return ClassSignature for a Class Class.
 
Methods inherited from class org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
compareTo, createMethod, equals, getAnnotations, getArgumentNames, getExceptionTypeNames, getGenericSignature, getMethodDescriptor, getModifiers, getParameterAnnotations, getSelector, getTagBits, hashCode, isClinit, isConstructor, isSynthetic, sizeInBytes, toString
 
Methods inherited from class org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
doubleAt, floatAt, i4At, i8At, u1At, u2At, u4At, utf8At
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

createAnnotationMethod

public static MethodInfo createAnnotationMethod(byte[] classFileBytes,
                                                int[] offsets,
                                                int offset)

getDefaultValue

public java.lang.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