|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.plastic.PlasticClassHandleShim
public abstract class PlasticClassHandleShim
The interface for a "shim" class that provides the necessary hooks needed
by FieldHandle and MethodHandle implementations for a particular,
instantiated PlasticClass.
| Constructor Summary | |
|---|---|
PlasticClassHandleShim()
|
|
| Method Summary | |
|---|---|
Object |
get(Object instance,
int fieldIndex)
Gets the field at the given index. |
MethodInvocationResult |
invoke(Object instance,
int methodIndex,
Object[] arguments)
Invokes a method. |
void |
set(Object instance,
int fieldIndex,
Object newValue)
Sets the value of a field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlasticClassHandleShim()
| Method Detail |
|---|
public Object get(Object instance,
int fieldIndex)
instance - object to read instance field fromfieldIndex - assigned index for the field
FieldHandle.get(Object)
public void set(Object instance,
int fieldIndex,
Object newValue)
instance - object to update instance field infieldIndex - assigned index for the fieldnewValue - new value for fieldFieldHandle.set(Object, Object)
public MethodInvocationResult invoke(Object instance,
int methodIndex,
Object[] arguments)
instance - object to invoke a method uponmethodIndex - assigned index for the methodarguments - arguments to pass to the method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||