public interface VelMethod
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Method |
getMethod()
returns the underlying Method
|
java.lang.String |
getMethodName()
returns the method name used
|
java.lang.Class<?> |
getReturnType()
returns the return type of the method invoked
|
java.lang.Object |
invoke(java.lang.Object o,
java.lang.Object[] params)
invocation method - called when the method invocation should be
performed and a value returned
|
boolean |
isCacheable()
specifies if this VelMethod is cacheable and able to be
reused for this class of object it was returned for
|
java.lang.Object invoke(java.lang.Object o, java.lang.Object[] params) throws java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
o
- params
- java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
boolean isCacheable()
java.lang.String getMethodName()
java.lang.reflect.Method getMethod()
java.lang.Class<?> getReturnType()