Package org.mvel2.util
Class MethodStub
java.lang.Object
org.mvel2.util.MethodStub
- All Implemented Interfaces:
Serializable,StaticStub
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMethodStub(Class classReference, String methodName) MethodStub(Method method) -
Method Summary
Modifier and TypeMethodDescriptioncall(Object ctx, Object thisCtx, VariableResolverFactory factory, Object[] parameters) voidsetClassReference(Class classReference) voidsetMethodName(String methodName)
-
Constructor Details
-
MethodStub
-
MethodStub
-
-
Method Details
-
getClassReference
-
setClassReference
-
getMethodName
-
setMethodName
-
getMethod
-
call
public Object call(Object ctx, Object thisCtx, VariableResolverFactory factory, Object[] parameters) throws IllegalAccessException, InvocationTargetException - Specified by:
callin interfaceStaticStub- Throws:
IllegalAccessExceptionInvocationTargetException
-