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

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.MethodInfoWithAnnotations
All Implemented Interfaces:
java.lang.Comparable, IBinaryMethod, IGenericMethod

public class MethodInfoWithAnnotations
extends MethodInfo


Field Summary
protected  AnnotationInfo[] annotations
           
 
Fields inherited from class org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
accessFlags, attributeBytes, descriptor, exceptionNames, name, signature, signatureUtf8Offset, tagBits
 
Method Summary
 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(java.lang.StringBuffer buffer)
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.classfmt.MethodInfo
compareTo, createMethod, getArgumentNames, getDefaultValue, getExceptionTypeNames, getGenericSignature, getMethodDescriptor, getModifiers, getParameterAnnotations, getSelector, getTagBits, isClinit, isConstructor, isSynthetic, sizeInBytes, toString
 
Methods inherited from class org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
doubleAt, floatAt, i1At, i2At, i4At, i8At, printTypeModifiers, u1At, u2At, u4At, utf8At, utf8At, verifyMethodNameAndSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

annotations

protected AnnotationInfo[] annotations
Method Detail

getAnnotations

public IBinaryAnnotation[] getAnnotations()
Description copied from interface: IBinaryMethod
Answer the runtime visible and invisible annotations for this method or null if none.

Specified by:
getAnnotations in interface IBinaryMethod
Overrides:
getAnnotations in class MethodInfo
Returns:
the annotations or null if there is none.

initialize

protected void initialize()
Description copied from class: 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.

Overrides:
initialize in class MethodInfo

reset

protected void reset()
Overrides:
reset in class ClassFileStruct

toStringContent

protected void toStringContent(java.lang.StringBuffer buffer)
Overrides:
toStringContent in class MethodInfo