public static class UberspectImpl.VelMethodImpl extends Object implements VelMethod
Constructor and Description |
---|
VelMethodImpl(Method m) |
VelMethodImpl(Method method,
boolean wrapArray) |
Modifier and Type | Method and Description |
---|---|
protected Object |
doInvoke(Object o,
Object[] actual)
Offers an extension point for subclasses (in alternate Uberspects)
to alter the invocation after any array wrapping or varargs handling
has already been completed.
|
String |
getMethodName()
returns the method name used
|
Class |
getReturnType()
returns the return type of the method invoked
|
Object |
invoke(Object o,
Object[] actual)
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
|
boolean |
isVarArg() |
public VelMethodImpl(Method m)
m
- public VelMethodImpl(Method method, boolean wrapArray)
public Object invoke(Object o, Object[] actual) throws Exception
VelMethod
invoke
in interface VelMethod
Exception
VelMethod.invoke(java.lang.Object, java.lang.Object[])
protected Object doInvoke(Object o, Object[] actual) throws Exception
Exception
public boolean isVarArg()
public boolean isCacheable()
VelMethod
isCacheable
in interface VelMethod
VelMethod.isCacheable()
public String getMethodName()
VelMethod
getMethodName
in interface VelMethod
VelMethod.getMethodName()
public Class getReturnType()
VelMethod
getReturnType
in interface VelMethod
VelMethod.getReturnType()
Copyright © 2000–2016. All rights reserved.