Home | History | Annotate | Download | only in src

Lines Matching defs:method

34     void printMethodInfo(Method meth) {
38 System.out.println("Method name is " + meth.getName());
85 Method meth;
92 System.err.println("succeeded on package-scope method");
104 System.err.println("inner-method invoke unexpectedly worked");
125 Method meth = null;
159 System.out.println("Calling no-arg void-return method");
163 /* try invoking a method that throws an exception */
411 Method m;
485 Method[] methods = niuClass.getDeclaredMethods();
488 Method method = niuClass.getMethod("staticMethod", (Class[]) null);
489 System.out.println("got method");
490 method.invoke(null);
491 System.out.println("invoked method");
516 Method method;
518 method = Main.class.getMethod("fancyMethod",
523 Type[] parmTypes = method.getGenericParameterTypes();
524 Type ret = method.getGenericReturnType();
525 System.out.println("generic method " + method.getName() + " params='"
579 Method method1, method2;
599 Method method1;
600 Method method2;
601 Method method3;
655 Method method1;
656 Method method2;
657 Method method3;
712 Method.class.getDeclaredConstructor().setAccessible(true);
713 System.out.print("Didn't get an exception from Method.class.getDeclaredConstructor().setAccessible");