Package | Description |
---|---|
java.lang | |
sun.misc | |
sun.reflect |
Modifier and Type | Method and Description |
---|---|
Field |
Class.getDeclaredField(String fieldName) |
Field[] |
Class.getDeclaredFields() |
Field |
Class.getField(String fieldName) |
Field[] |
Class.getFields() |
Modifier and Type | Method and Description |
---|---|
int |
Unsafe.fieldOffset(Field f) |
long |
Unsafe.objectFieldOffset(Field f) |
Modifier and Type | Method and Description |
---|---|
Field |
ConstantPool.getFieldAt(int index) |
Field |
ConstantPool.getFieldAtIfLoaded(int index) |