public static class UberspectImpl.VelMethodImpl extends java.lang.Object implements VelMethod
| 构造器和说明 |
|---|
VelMethodImpl(java.lang.reflect.Method m) |
VelMethodImpl(java.lang.reflect.Method method,
boolean wrapArray) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.Object |
doInvoke(java.lang.Object o,
java.lang.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.
|
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[] 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(java.lang.reflect.Method m)
m - public VelMethodImpl(java.lang.reflect.Method method,
boolean wrapArray)
public java.lang.Object invoke(java.lang.Object o,
java.lang.Object[] actual)
throws java.lang.Exception
VelMethodinvoke 在接口中 VelMethodjava.lang.ExceptionVelMethod.invoke(java.lang.Object, java.lang.Object[])protected java.lang.Object doInvoke(java.lang.Object o,
java.lang.Object[] actual)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isVarArg()
public boolean isCacheable()
VelMethodisCacheable 在接口中 VelMethodVelMethod.isCacheable()public java.lang.String getMethodName()
VelMethodgetMethodName 在接口中 VelMethodVelMethod.getMethodName()public java.lang.Class getReturnType()
VelMethodgetReturnType 在接口中 VelMethodVelMethod.getReturnType()