railo.runtime.reflection.pairs
Class MethodInstance
java.lang.Object
railo.runtime.reflection.pairs.MethodInstance
public final class MethodInstance
- extends Object
class holds a Method and the parameter to call it
MethodInstance
public MethodInstance(Method method,
Object[] args)
- constructor of the class
- Parameters:
method
- args
-
invoke
public Object invoke(Object o)
throws IllegalAccessException,
InvocationTargetException
- Invokes the method
- Parameters:
o
- Object to invoke Method on it
- Returns:
- return value of the Method
- Throws:
IllegalAccessException
IllegalArgumentException
IllegalAccessException
InvocationTargetException
InvocationTargetException
getArgs
public Object[] getArgs()
- Returns:
- Returns the args.
getMethod
public Method getMethod()
- Returns:
- Returns the method.
Copyright © 2012 Railo