jxl.util
Class MethodCall<R>

java.lang.Object
  extended by jxl.util.MethodCall<R>
All Implemented Interfaces:
java.io.Serializable

public class MethodCall<R>
extends java.lang.Object
implements java.io.Serializable

Author:
alex
See Also:
Serialized Form

Constructor Summary
MethodCall(java.lang.reflect.Method m, java.lang.Object... args)
          Creates a new instance of MethodCall
 
Method Summary
 R invoke(java.lang.Object target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodCall

public MethodCall(java.lang.reflect.Method m,
                  java.lang.Object... args)
Creates a new instance of MethodCall

Method Detail

invoke

public R invoke(java.lang.Object target)
         throws java.lang.IllegalAccessException,
                java.lang.reflect.InvocationTargetException,
                java.lang.NoSuchMethodException
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException