org.apache.commons.jexl.util.introspection
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 |
---|
UberspectImpl.VelMethodImpl(java.lang.reflect.Method m)
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
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
|
public UberspectImpl.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 VelMethod
public java.lang.String getMethodName()
getMethodName
in interface VelMethod
public java.lang.Class getReturnType()
getReturnType
in interface VelMethod
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.