Package org.mvel2.util
Class MethodStub
- java.lang.Object
-
- org.mvel2.util.MethodStub
-
- All Implemented Interfaces:
Serializable,StaticStub
public class MethodStub extends Object implements StaticStub
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodStub(Class classReference, String methodName)MethodStub(Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcall(Object ctx, Object thisCtx, VariableResolverFactory factory, Object[] parameters)ClassgetClassReference()MethodgetMethod()StringgetMethodName()voidsetClassReference(Class classReference)voidsetMethodName(String methodName)
-
-
-
Method Detail
-
getClassReference
public Class getClassReference()
-
setClassReference
public void setClassReference(Class classReference)
-
getMethodName
public String getMethodName()
-
setMethodName
public void setMethodName(String methodName)
-
getMethod
public Method getMethod()
-
call
public Object call(Object ctx, Object thisCtx, VariableResolverFactory factory, Object[] parameters) throws IllegalAccessException, InvocationTargetException
- Specified by:
callin interfaceStaticStub- Throws:
IllegalAccessExceptionInvocationTargetException
-
-