Package org.jboss.jandex
Class RecordComponentInternal
java.lang.Object
org.jboss.jandex.RecordComponentInternal
The shared internal representation for RecordComponentInfo objects.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AnnotationInstance[]
(package private) static final RecordComponentInternal[]
private final byte[]
(package private) static final RecordComponentInternal.NameComparator
private Type
-
Constructor Summary
ConstructorsConstructorDescriptionRecordComponentInternal
(byte[] name, Type type) RecordComponentInternal
(byte[] name, Type type, AnnotationInstance[] annotations) -
Method Summary
Modifier and TypeMethodDescription(package private) final AnnotationInstance
annotation
(DotName name) (package private) final AnnotationInstance[]
(package private) final List
<AnnotationInstance> boolean
(package private) final boolean
hasAnnotation
(DotName name) int
hashCode()
(package private) boolean
(package private) int
(package private) final String
name()
(package private) final byte[]
(package private) void
setAnnotations
(List<AnnotationInstance> annotations) (package private) void
toString()
(package private) final Type
type()
-
Field Details
-
EMPTY_ARRAY
-
name
private final byte[] name -
type
-
annotations
-
NAME_COMPARATOR
-
-
Constructor Details
-
RecordComponentInternal
RecordComponentInternal(byte[] name, Type type) -
RecordComponentInternal
RecordComponentInternal(byte[] name, Type type, AnnotationInstance[] annotations)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
internEquals
-
internHashCode
int internHashCode() -
name
-
nameBytes
final byte[] nameBytes() -
type
-
annotations
-
annotationArray
-
annotation
-
hasAnnotation
-
toString
-
toString
-
setType
-
setAnnotations
-