final class FieldInternal
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FieldInternal.NameComparator |
Modifier and Type | Field and Description |
---|---|
private AnnotationInstance[] |
annotations |
(package private) static FieldInternal[] |
EMPTY_ARRAY |
private short |
flags |
private byte[] |
name |
(package private) static FieldInternal.NameComparator |
NAME_COMPARATOR |
private Type |
type |
Constructor and Description |
---|
FieldInternal(byte[] name,
Type type,
short flags) |
FieldInternal(byte[] name,
Type type,
short flags,
AnnotationInstance[] annotations) |
Modifier and Type | Method and Description |
---|---|
(package private) AnnotationInstance |
annotation(DotName name) |
(package private) AnnotationInstance[] |
annotationArray() |
(package private) java.util.List<AnnotationInstance> |
annotations() |
boolean |
equals(java.lang.Object o) |
(package private) short |
flags() |
(package private) boolean |
hasAnnotation(DotName name) |
int |
hashCode() |
(package private) java.lang.String |
name() |
(package private) byte[] |
nameBytes() |
(package private) void |
setAnnotations(java.util.List<AnnotationInstance> annotations) |
(package private) void |
setType(Type type) |
java.lang.String |
toString(ClassInfo clazz) |
(package private) Type |
type() |
static final FieldInternal[] EMPTY_ARRAY
private final byte[] name
private Type type
private final short flags
private AnnotationInstance[] annotations
static final FieldInternal.NameComparator NAME_COMPARATOR
FieldInternal(byte[] name, Type type, short flags)
FieldInternal(byte[] name, Type type, short flags, AnnotationInstance[] annotations)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
final java.lang.String name()
final byte[] nameBytes()
final Type type()
final java.util.List<AnnotationInstance> annotations()
final AnnotationInstance[] annotationArray()
final AnnotationInstance annotation(DotName name)
final boolean hasAnnotation(DotName name)
final short flags()
public java.lang.String toString(ClassInfo clazz)
void setType(Type type)
void setAnnotations(java.util.List<AnnotationInstance> annotations)