Lines Matching refs:meth
18 void printMethodInfo(Method meth) { in printMethodInfo() argument
22 System.out.println("Method name is " + meth.getName()); in printMethodInfo()
24 + meth.getDeclaringClass().getName()); in printMethodInfo()
25 params = meth.getParameterTypes(); in printMethodInfo()
28 exceptions = meth.getExceptionTypes(); in printMethodInfo()
31 System.out.println(" Return type is " + meth.getReturnType().getName()); in printMethodInfo()
33 + Integer.toHexString(meth.getModifiers())); in printMethodInfo()
69 Method meth; in checkAccess() local
71 meth = target.getMethod("publicMethod", (Class[]) null); in checkAccess()
72 meth.invoke(instance); in checkAccess()
75 meth = target.getMethod("packageMethod", (Class[]) null); in checkAccess()
84 meth = target.getMethod("innerMethod", (Class[]) null); in checkAccess()
87 meth.invoke(instance); in checkAccess()
109 Method meth = null; in run() local
114 meth = target.getMethod("myMethod", new Class[] { int.class }); in run()
116 if (meth.getDeclaringClass() != target) in run()
118 printMethodInfo(meth); in run()
120 meth = target.getMethod("myMethod", new Class[] { float.class }); in run()
121 printMethodInfo(meth); in run()
123 meth = target.getMethod("myNoargMethod", (Class[]) null); in run()
124 printMethodInfo(meth); in run()
126 meth = target.getMethod("myMethod", in run()
128 printMethodInfo(meth); in run()
140 boxval = (Integer) meth.invoke(instance, argList); in run()
144 meth = target.getMethod("myNoargMethod", (Class[]) null); in run()
145 meth.invoke(instance, (Object[]) null); in run()
148 meth = target.getMethod("throwingMethod", (Class[]) null); in run()
150 meth.invoke(instance, (Object[]) null); in run()