org.eclipse.jdt.internal.compiler.classfmt
类 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
所有已实现的接口:
Comparable, IBinaryMethod, IGenericMethod
直接已知子类:
AnnotationMethodInfoWithAnnotations

public class AnnotationMethodInfo
extends MethodInfo


字段摘要
protected  Object defaultValue
           
 
从类 org.eclipse.jdt.internal.compiler.classfmt.MethodInfo 继承的字段
accessFlags, argumentNames, argumentNamesIndex, attributeBytes, descriptor, exceptionNames, name, signature, signatureUtf8Offset, tagBits
 
方法摘要
static MethodInfo createAnnotationMethod(byte[] classFileBytes, int[] offsets, int offset)
           
 Object getDefaultValue()
          Return ClassSignature for a Class Class.
protected  void toStringContent(StringBuffer buffer)
           
 
从类 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
 
从类 org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct 继承的方法
doubleAt, floatAt, i4At, i8At, reset, u1At, u2At, u4At, utf8At
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

defaultValue

protected Object defaultValue
方法详细信息

createAnnotationMethod

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

getDefaultValue

public Object getDefaultValue()
从接口 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.

指定者:
接口 IBinaryMethod 中的 getDefaultValue
覆盖:
MethodInfo 中的 getDefaultValue
返回:
default value of this annotation method

toStringContent

protected void toStringContent(StringBuffer buffer)
覆盖:
MethodInfo 中的 toStringContent


Copyright © 2013. All Rights Reserved.