Lines Matching refs:Method
20 import java.lang.reflect.Method;
188 public Object invoke(Object proxy, Method method, Object[] args)
195 if (method.getDeclaringClass() == java.lang.Object.class) {
196 //System.out.println("!!! object " + method.getName());
197 if (method.getName().equals("toString"))
199 else if (method.getName().equals("hashCode"))
201 else if (method.getName().equals("equals"))
207 System.out.println("Invoke " + method);
216 if (method.getName().equals("throwFunky"))
218 if (method.getName().equals("throwFunky2"))
220 if (method.getName().equals("throwException"))
222 if (method.getName().equals("throwBase"))
224 if (method.getName().equals("throwSub"))
226 if (method.getName().equals("throwSubSub"))
228 if (method.getName().equals("bothThrowBase"))
232 result = method.invoke(mObj, args);
235 System.out.println("Success: method " + method.getName()