Class ComponentInfoWithTypeAnnotation
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.RecordComponentInfo
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ComponentInfoWithAnnotation
org.aspectj.org.eclipse.jdt.internal.compiler.classfmt.ComponentInfoWithTypeAnnotation
- All Implemented Interfaces:
Comparable, IBinaryField, IBinaryInfo, IElementInfo, IGenericField, IRecordComponent
-
Field Summary
Fields inherited from class RecordComponentInfo
attributeBytes, descriptor, name, signature, signatureUtf8Offset, tagBits, versionModifier and TypeFieldDescriptionprotected intprotected char[]protected char[]protected char[]protected intprotected longprotected long -
Method Summary
Methods inherited from class ComponentInfoWithAnnotation
getAnnotationsModifier and TypeMethodDescriptionAnswer the runtime visible and invisible annotations for this field or null if none.Methods inherited from class RecordComponentInfo
compareTo, createComponent, equals, getConstant, getGenericSignature, getModifiers, getName, getTagBits, getTypeName, hashCode, sizeInBytes, throwFormatException, toStringContentModifier and TypeMethodDescriptionintstatic RecordComponentInfocreateComponent(byte[] classFileBytes, int[] offsets, int offset, long version) booleanchar[]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.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()intAnswer the size of the receiver in bytes.voidprotected voidtoStringContent(StringBuilder buffer) Methods inherited from class ClassFileStruct
doubleAt, floatAt, i4At, i8At, u1At, u2At, u4At, utf8AtModifier and TypeMethodDescriptiondoubledoubleAt(int relativeOffset) floatfloatAt(int relativeOffset) inti4At(int relativeOffset) longi8At(int relativeOffset) intu1At(int relativeOffset) intu2At(int relativeOffset) intu4At(int relativeOffset) Returns an 32 bit integer created of 4 bytes.char[]utf8At(int relativeOffset, int bytesAvailable)
-
Method Details
-
getTypeAnnotations
Description copied from interface:IBinaryFieldAnswer the runtime visible and invisible type annotations for this field or null if none.- Specified by:
getTypeAnnotationsin interfaceIBinaryField- Overrides:
getTypeAnnotationsin classRecordComponentInfo
-
initialize
protected void initialize()Description copied from class:RecordComponentInfoThis 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:
initializein classComponentInfoWithAnnotation
-
reset
protected void reset()- Overrides:
resetin classComponentInfoWithAnnotation
-
toString
- Overrides:
toStringin classComponentInfoWithAnnotation
-