1 28 29 package org.jruby.javasupport.proxy; 30 31 import java.lang.reflect.InvocationTargetException ; 32 import java.lang.reflect.Method ; 33 34 import org.jruby.runtime.builtin.IRubyObject; 35 36 public interface JavaProxyMethod extends IRubyObject { 37 38 Method getSuperMethod(); 39 40 41 Object getState(); 42 43 44 void setState(Object state); 45 46 47 boolean hasSuperImplementation(); 48 49 59 Object invoke(Object proxy, Object [] args) throws IllegalArgumentException , 60 IllegalAccessException , InvocationTargetException , 61 NoSuchMethodException ; 62 63 Object defaultResult(); 64 65 String getName(); 66 67 Class [] getParameterTypes(); 68 69 Class [] getExceptionTypes(); 70 71 Class getReturnType(); 72 73 JavaProxyClass getDeclaringClass(); 74 75 int getModifiers(); 76 77 } | Popular Tags |