public class UberspectImpl.VelMethodImpl extends java.lang.Object implements VelMethod
VelMethod.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.reflect.Method |
method
the method.
|
| Constructor and Description |
|---|
VelMethodImpl(java.lang.reflect.Method m)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethodName()
Gets 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.
|
public VelMethodImpl(java.lang.reflect.Method m)
m - the method.public java.lang.Object invoke(java.lang.Object o,
java.lang.Object[] params)
throws java.lang.Exception
public boolean isCacheable()
isCacheable in interface VelMethodpublic java.lang.String getMethodName()
getMethodName in interface VelMethodpublic java.lang.Class getReturnType()
getReturnType in interface VelMethod