Package org.jboss.jandex
Class RecordComponentInternal
- java.lang.Object
-
- org.jboss.jandex.RecordComponentInternal
-
final class RecordComponentInternal extends java.lang.ObjectThe shared internal representation for RecordComponentInfo objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classRecordComponentInternal.NameComparator
-
Field Summary
Fields Modifier and Type Field Description private AnnotationInstance[]annotations(package private) static RecordComponentInternal[]EMPTY_ARRAYprivate byte[]name(package private) static RecordComponentInternal.NameComparatorNAME_COMPARATORprivate Typetype
-
Constructor Summary
Constructors Constructor Description RecordComponentInternal(byte[] name, Type type)RecordComponentInternal(byte[] name, Type type, AnnotationInstance[] annotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) AnnotationInstanceannotation(DotName name)(package private) AnnotationInstance[]annotationArray()(package private) java.util.List<AnnotationInstance>annotations()booleanequals(java.lang.Object o)(package private) booleanhasAnnotation(DotName name)inthashCode()(package private) booleaninternEquals(java.lang.Object o)(package private) intinternHashCode()(package private) java.lang.Stringname()(package private) byte[]nameBytes()(package private) voidsetAnnotations(java.util.List<AnnotationInstance> annotations)(package private) voidsetType(Type type)java.lang.StringtoString()java.lang.StringtoString(ClassInfo clazz)(package private) Typetype()
-
-
-
Field Detail
-
EMPTY_ARRAY
static final RecordComponentInternal[] EMPTY_ARRAY
-
name
private final byte[] name
-
type
private Type type
-
annotations
private AnnotationInstance[] annotations
-
NAME_COMPARATOR
static final RecordComponentInternal.NameComparator NAME_COMPARATOR
-
-
Constructor Detail
-
RecordComponentInternal
RecordComponentInternal(byte[] name, Type type)
-
RecordComponentInternal
RecordComponentInternal(byte[] name, Type type, AnnotationInstance[] annotations)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
internEquals
boolean internEquals(java.lang.Object o)
-
internHashCode
int internHashCode()
-
name
final java.lang.String name()
-
nameBytes
final byte[] nameBytes()
-
type
final Type type()
-
annotations
final java.util.List<AnnotationInstance> annotations()
-
annotationArray
final AnnotationInstance[] annotationArray()
-
annotation
final AnnotationInstance annotation(DotName name)
-
hasAnnotation
final boolean hasAnnotation(DotName name)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
toString
public java.lang.String toString(ClassInfo clazz)
-
setType
void setType(Type type)
-
setAnnotations
void setAnnotations(java.util.List<AnnotationInstance> annotations)
-
-