Class IndexBinaryField
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.nd.java.model.IndexBinaryField
- All Implemented Interfaces:
IBinaryField
,IGenericField
-
Constructor Summary
ConstructorDescriptionIndexBinaryField(IBinaryAnnotation[] annotations, Constant constant, char[] genericSignature, int modifiers, char[] name, long tagBits, IBinaryTypeAnnotation[] typeAnnotations, char[] fieldDescriptor)
-
Method Summary
Modifier and TypeMethodDescriptionAnswer the runtime visible and invisible annotations for this field or null if none.char[]
Answer the receiver's FieldSignature, which describes the field's type as specified in "4.7.9.1 Signatures" of the Java SE 8 VM spec.int
Answer an int whose bits are set according the access constants defined by the VM spec.char[]
getName()
Answer the name of the field.long
Answer the tagbits set according to the bits for annotations.Answer the runtime visible and invisible type annotations for this field or null if none.char[]
Answer the resolved name of the receiver's type in the class file format as specified in section 4.3.2 of the Java 2 VM spec.
-
Constructor Details
-
IndexBinaryField
public IndexBinaryField(IBinaryAnnotation[] annotations, Constant constant, char[] genericSignature, int modifiers, char[] name, long tagBits, IBinaryTypeAnnotation[] typeAnnotations, char[] fieldDescriptor)
-
-
Method Details
-
getModifiers
public int getModifiers()Description copied from interface:IGenericField
Answer an int whose bits are set according the access constants defined by the VM spec.- Specified by:
getModifiers
in interfaceIGenericField
-
getAnnotations
Description copied from interface:IBinaryField
Answer the runtime visible and invisible annotations for this field or null if none.- Specified by:
getAnnotations
in interfaceIBinaryField
-
getTypeAnnotations
Description copied from interface:IBinaryField
Answer the runtime visible and invisible type annotations for this field or null if none.- Specified by:
getTypeAnnotations
in interfaceIBinaryField
-
getConstant
- Specified by:
getConstant
in interfaceIBinaryField
- Returns:
- org.aspectj.org.eclipse.jdt.internal.compiler.Constant
-
getGenericSignature
public char[] getGenericSignature()Description copied from interface:IBinaryField
Answer the receiver's FieldSignature, which describes the field's type as specified in "4.7.9.1 Signatures" of the Java SE 8 VM spec.- Specified by:
getGenericSignature
in interfaceIBinaryField
-
getName
public char[] getName()Description copied from interface:IBinaryField
Answer the name of the field.- Specified by:
getName
in interfaceIBinaryField
-
getTagBits
public long getTagBits()Description copied from interface:IBinaryField
Answer the tagbits set according to the bits for annotations.- Specified by:
getTagBits
in interfaceIBinaryField
-
getTypeName
public char[] getTypeName()Description copied from interface:IBinaryField
Answer the resolved name of the receiver's type in the class file format as specified in section 4.3.2 of the Java 2 VM spec. For example: - java.lang.String is Ljava/lang/String; - an int is I - a 2 dimensional array of strings is [[Ljava/lang/String; - an array of floats is [F- Specified by:
getTypeName
in interfaceIBinaryField
-