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

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
      extended by org.eclipse.jdt.internal.compiler.classfmt.FieldInfo
          extended by org.eclipse.jdt.internal.compiler.classfmt.FieldInfoWithAnnotation
All Implemented Interfaces:
Comparable, IBinaryField, IGenericField

public final class FieldInfoWithAnnotation
extends FieldInfo


Field Summary
 
Fields inherited from class org.eclipse.jdt.internal.compiler.classfmt.FieldInfo
accessFlags, attributeBytes, constant, descriptor, name, signature, signatureUtf8Offset, tagBits, wrappedConstantValue
 
Method Summary
 IBinaryAnnotation[] getAnnotations()
          Answer the runtime visible and invisible annotations for this field or null if none.
protected  void initialize()
          This method is used to fully initialize the contents of the receiver.
protected  void reset()
           
 String toString()
           
 
Methods inherited from class org.eclipse.jdt.internal.compiler.classfmt.FieldInfo
compareTo, createField, equals, getConstant, getGenericSignature, getModifiers, getName, getTagBits, getTypeName, getWrappedConstantValue, hasConstant, hashCode, isSynthetic, sizeInBytes, throwFormatException, toStringContent
 
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAnnotations

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

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

initialize

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

reset

protected void reset()
Overrides:
reset in class ClassFileStruct

toString

public String toString()
Overrides:
toString in class FieldInfo


Copyright © 2012. All Rights Reserved.