public class FieldHandleImpl extends Object implements FieldHandle
| Modifier and Type | Field and Description |
|---|---|
protected PlasticClassHandleShim |
shim |
| Constructor and Description |
|---|
FieldHandleImpl(String className,
String fieldName,
int fieldIndex) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object instance)
Gets the current value of the field.
|
void |
set(Object instance,
Object newValue)
Updates the current value of the field.
|
String |
toString() |
protected volatile PlasticClassHandleShim shim
public FieldHandleImpl(String className, String fieldName, int fieldIndex)
public Object get(Object instance)
FieldHandleget in interface FieldHandlepublic void set(Object instance, Object newValue)
FieldHandleset in interface FieldHandle5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.