Lines Matching refs:m
177 Method m; in testMethodReflection() local
179 m = Main.class.getDeclaredMethod("IV", int.class); in testMethodReflection()
180 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
181 show(m.invoke(null, 4444)); in testMethodReflection()
182 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
184 m = Main.class.getDeclaredMethod("IIV", int.class, int.class); in testMethodReflection()
185 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
186 show(m.invoke(null, 1111, 2222)); in testMethodReflection()
188 m = Main.class.getDeclaredMethod("III", int.class, int.class); in testMethodReflection()
189 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
190 show(m.invoke(null, 1111, 2222)); in testMethodReflection()
192 m = Main.class.getDeclaredMethod("sumArray", int[].class); in testMethodReflection()
193 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
194 show(m.invoke(null, new int[] { 1, 2, 3, 4 })); in testMethodReflection()
196 m = Main.class.getDeclaredMethod("concat", String[].class); in testMethodReflection()
197 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
198 show(m.invoke(null, (Object) new String[] { "h", "e", "l", "l", "o" })); in testMethodReflection()
200 …m = Main.class.getDeclaredMethod("ZBCDFIJSV", boolean.class, byte.class, char.class, double.class,… in testMethodReflection()
201 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
202 show(m.invoke(null, true, (byte) 0, '1', 2, 3, 4, 5, (short) 6)); in testMethodReflection()
204 …m = Main.class.getDeclaredMethod("ZBCDLFIJSV", boolean.class, byte.class, char.class, double.class… in testMethodReflection()
205 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
206 show(m.invoke(null, true, (byte) 0, '1', 2, "hello world", 3, 4, 5, (short) 6)); in testMethodReflection()
209 m = Main.class.getDeclaredMethod("thrower"); in testMethodReflection()
210 System.out.println(Arrays.toString(m.getParameterTypes())); in testMethodReflection()
211 show(m.invoke(null)); in testMethodReflection()