Package org.jboss.jandex
Class FieldInternal
java.lang.Object
org.jboss.jandex.FieldInternal
The shared internal representation for FieldInfo objects.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AnnotationInstance[]
(package private) static final FieldInternal[]
private final short
private final byte[]
(package private) static final FieldInternal.NameComparator
private Type
-
Constructor Summary
ConstructorsConstructorDescriptionFieldInternal
(byte[] name, Type type, short flags) FieldInternal
(byte[] name, Type type, short flags, 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 short
flags()
(package private) final boolean
hasAnnotation
(DotName name) int
hashCode()
(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
-
flags
private final short flags -
annotations
-
NAME_COMPARATOR
-
-
Constructor Details
-
FieldInternal
FieldInternal(byte[] name, Type type, short flags) -
FieldInternal
FieldInternal(byte[] name, Type type, short flags, AnnotationInstance[] annotations)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
name
-
nameBytes
final byte[] nameBytes() -
type
-
annotations
-
annotationArray
-
annotation
-
hasAnnotation
-
flags
final short flags() -
toString
-
toString
-
setType
-
setAnnotations
-