Klasse RecordComponentInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.RecordComponentInfo
- Alle implementierten Schnittstellen:
Comparable,IBinaryField,IGenericField,IRecordComponent
- Bekannte direkte Unterklassen:
ComponentInfoWithAnnotation
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected intprotected char[]protected char[]protected char[]protected intprotected longprotected long -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedRecordComponentInfo(byte[] classFileBytes, int[] offsets, int offset, long version) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungintstatic RecordComponentInfocreateComponent(byte[] classFileBytes, int[] offsets, int offset, long version) booleanAnswer 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.intAnswer an int whose bits are set according the access constants defined by the VM spec.char[]getName()Answer the name of the component.longAnswer 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.inthashCode()protected voidThis method is used to fully initialize the contents of the receiver.intAnswer the size of the receiver in bytes.voidtoString()protected voidtoStringContent(StringBuffer buffer)
-
Felddetails
-
attributeBytes
protected int attributeBytes -
descriptor
protected char[] descriptor -
name
protected char[] name -
signature
protected char[] signature -
signatureUtf8Offset
protected int signatureUtf8Offset -
tagBits
protected long tagBits -
version
protected long version
-
-
Konstruktordetails
-
RecordComponentInfo
protected RecordComponentInfo(byte[] classFileBytes, int[] offsets, int offset, long version) - Parameter:
classFileBytes- byte[]offsets- int[]offset- intversion- class file version
-
-
Methodendetails
-
createComponent
public static RecordComponentInfo createComponent(byte[] classFileBytes, int[] offsets, int offset, long version) -
compareTo
- Angegeben von:
compareToin SchnittstelleComparable
-
equals
-
hashCode
public int hashCode() -
getGenericSignature
public char[] getGenericSignature()Beschreibung aus Schnittstelle kopiert:IBinaryFieldAnswer 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.- Angegeben von:
getGenericSignaturein SchnittstelleIBinaryField
-
getName
public char[] getName()Answer the name of the component.- Angegeben von:
getNamein SchnittstelleIBinaryField- Gibt zurück:
- char[]
-
getTagBits
public long getTagBits()Beschreibung aus Schnittstelle kopiert:IBinaryFieldAnswer the tagbits set according to the bits for annotations.- Angegeben von:
getTagBitsin SchnittstelleIBinaryField
-
getTypeName
public char[] getTypeName()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- Angegeben von:
getTypeNamein SchnittstelleIBinaryField- Gibt zurück:
- char[]
-
getAnnotations
Beschreibung aus Schnittstelle kopiert:IBinaryFieldAnswer the runtime visible and invisible annotations for this field or null if none.- Angegeben von:
getAnnotationsin SchnittstelleIBinaryField- Gibt zurück:
- the annotations or null if there is none.
-
getTypeAnnotations
Beschreibung aus Schnittstelle kopiert:IBinaryFieldAnswer the runtime visible and invisible type annotations for this field or null if none.- Angegeben von:
getTypeAnnotationsin SchnittstelleIBinaryField
-
initialize
protected void initialize()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. -
sizeInBytes
public int sizeInBytes()Answer the size of the receiver in bytes.- Gibt zurück:
- int
-
throwFormatException
- Löst aus:
ClassFormatException
-
toString
-
toStringContent
-
getConstant
- Angegeben von:
getConstantin SchnittstelleIBinaryField- Gibt zurück:
- org.eclipse.jdt.internal.compiler.Constant
-
getModifiers
public int getModifiers()Beschreibung aus Schnittstelle kopiert:IGenericFieldAnswer an int whose bits are set according the access constants defined by the VM spec.- Angegeben von:
getModifiersin SchnittstelleIGenericField
-