org.eclipse.jdt.internal.compiler.classfmt
Class FieldInfoWithAnnotation
java.lang.Object
org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.eclipse.jdt.internal.compiler.classfmt.FieldInfo
org.eclipse.jdt.internal.compiler.classfmt.FieldInfoWithAnnotation
- All Implemented Interfaces:
- Comparable, IBinaryField, IGenericField
public final class FieldInfoWithAnnotation
- extends FieldInfo
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 |
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.