private class HotSpotResolvedObjectTypeImpl.FieldInfo extends Object
InstanceKlass. The implementation is similar to the native FieldInfo class.| Modifier and Type | Field and Description |
|---|---|
private long |
metaspaceData
Native pointer into the array of Java shorts.
|
| Constructor and Description |
|---|
FieldInfo(int index)
Creates a field info for the field in the fields array at index
index. |
| Modifier and Type | Method and Description |
|---|---|
private int |
getAccessFlags() |
String |
getName()
Returns the name of this field as a
String. |
private int |
getNameIndex() |
int |
getOffset() |
String |
getSignature()
Returns the signature of this field as
String. |
private int |
getSignatureIndex() |
JavaType |
getType() |
boolean |
hasGenericSignature() |
private boolean |
isInternal() |
boolean |
isStatic() |
private int |
readFieldSlot(int index)
Helper method to read an entry (slot) from the field array.
|
private final long metaspaceData
public FieldInfo(int index)
index.index - index to the fields arrayprivate int getAccessFlags()
private int getNameIndex()
private int getSignatureIndex()
public int getOffset()
private int readFieldSlot(int index)
public String getName()
String. If the field is an internal field the
name index is pointing into the vmSymbols table.public String getSignature()
String. If the field is an internal field
the signature index is pointing into the vmSymbols table.private boolean isInternal()
public boolean isStatic()
public boolean hasGenericSignature()