org.eclipse.jdt.internal.compiler.classfmt
类 MethodInfoWithAnnotations

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
      继承者 org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
          继承者 org.eclipse.jdt.internal.compiler.classfmt.MethodInfoWithAnnotations
所有已实现的接口:
Comparable, IBinaryMethod, IGenericMethod

public class MethodInfoWithAnnotations
extends MethodInfo


字段摘要
protected  AnnotationInfo[] annotations
           
 
从类 org.eclipse.jdt.internal.compiler.classfmt.MethodInfo 继承的字段
accessFlags, argumentNames, argumentNamesIndex, attributeBytes, descriptor, exceptionNames, name, signature, signatureUtf8Offset, tagBits
 
方法摘要
 IBinaryAnnotation[] getAnnotations()
          Answer the runtime visible and invisible annotations for this method or null if none.
protected  void initialize()
          This method is used to fully initialize the contents of the receiver.
protected  void reset()
           
protected  void toStringContent(StringBuffer buffer)
           
 
从类 org.eclipse.jdt.internal.compiler.classfmt.MethodInfo 继承的方法
compareTo, createMethod, equals, getArgumentNames, getDefaultValue, getExceptionTypeNames, getGenericSignature, getMethodDescriptor, getModifiers, getParameterAnnotations, getSelector, getTagBits, hashCode, isClinit, isConstructor, isSynthetic, sizeInBytes, toString
 
从类 org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct 继承的方法
doubleAt, floatAt, i4At, i8At, u1At, u2At, u4At, utf8At
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

字段详细信息

annotations

protected AnnotationInfo[] annotations
方法详细信息

getAnnotations

public IBinaryAnnotation[] getAnnotations()
从接口 IBinaryMethod 复制的描述
Answer the runtime visible and invisible annotations for this method or null if none.

指定者:
接口 IBinaryMethod 中的 getAnnotations
覆盖:
MethodInfo 中的 getAnnotations
返回:
the annotations or null if there is none.

initialize

protected void initialize()
从类 MethodInfo 复制的描述
This method is used to fully initialize the contents of the receiver. All methodinfos, fields infos will be therefore fully initialized and we can get rid of the bytes.

覆盖:
MethodInfo 中的 initialize

reset

protected void reset()
覆盖:
ClassFileStruct 中的 reset

toStringContent

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


Copyright © 2013. All Rights Reserved.