public static class UberspectImpl.VelSetterImpl extends java.lang.Object implements VelPropertySet
Modifier and Type | Field and Description |
---|---|
private SetExecutor |
setExecutor |
Modifier | Constructor and Description |
---|---|
private |
VelSetterImpl() |
|
VelSetterImpl(SetExecutor setExecutor) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethodName()
returns the method name used to set this 'property'
|
java.lang.Object |
invoke(java.lang.Object o,
java.lang.Object value)
Invoke the found Set Executor.
|
boolean |
isCacheable()
specifies if this VelPropertySet is cacheable and able to be
reused for this class of object it was returned for
|
private final SetExecutor setExecutor
public VelSetterImpl(SetExecutor setExecutor)
setExecutor
- private VelSetterImpl()
public java.lang.Object invoke(java.lang.Object o, java.lang.Object value) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
invoke
in interface VelPropertySet
o
- is the Object to invoke it on.value
- in the Value to set.java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
public boolean isCacheable()
VelPropertySet
isCacheable
in interface VelPropertySet
VelPropertySet.isCacheable()
public java.lang.String getMethodName()
VelPropertySet
getMethodName
in interface VelPropertySet
VelPropertySet.getMethodName()