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)
FieldHandle
get
in interface FieldHandle
public void set(Object instance, Object newValue)
FieldHandle
set
in interface FieldHandle
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.