Class FieldHandleImpl
- java.lang.Object
-
- org.apache.tapestry5.internal.plastic.FieldHandleImpl
-
- All Implemented Interfaces:
FieldHandle
public class FieldHandleImpl extends Object implements FieldHandle
-
-
Field Summary
Fields Modifier and Type Field Description protected PlasticClassHandleShimshim
-
Constructor Summary
Constructors Constructor Description FieldHandleImpl(String className, String fieldName, int fieldIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(Object instance)Gets the current value of the field.voidset(Object instance, Object newValue)Updates the current value of the field.StringtoString()
-
-
-
Field Detail
-
shim
protected volatile PlasticClassHandleShim shim
-
-
Constructor Detail
-
FieldHandleImpl
public FieldHandleImpl(String className, String fieldName, int fieldIndex)
-
-
Method Detail
-
get
public Object get(Object instance)
Description copied from interface:FieldHandleGets the current value of the field. If the field is a primitive value, then the primitive will be wrapped.- Specified by:
getin interfaceFieldHandle
-
set
public void set(Object instance, Object newValue)
Description copied from interface:FieldHandleUpdates the current value of the field. If the field is a primitive value, then the newValue will be unwrapped automatically.- Specified by:
setin interfaceFieldHandle
-
-