Lines Matching refs:method
69 Method method = helloClass.getDeclaredMethod("method", (Class[]) null);
71 method.invoke(new ClassTest(), (Object[]) null);
75 method = helloClass.getDeclaredMethod("methodWithArgs", Object.class);
79 Object ret = method.invoke(new ClassTest(), invokeArgs);
84 method = helloClass.getDeclaredMethod("privateMethod", (Class[]) null);
86 method.invoke(new ClassTest(), (Object[]) null);
89 // call to the private method is being made from the same class.
113 helloClass.getMethod("method", (Class[]) null);
118 helloClass.getMethod("method", argTypes);
140 public void method() {
150 // Regression for 1018067: Class.getMethods() returns the same method over
190 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
193 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
194 assertTrue("Interface method must be there", hasMethod(methods, ".bar("));
197 assertTrue("Interface method must be there", hasMethod(methods, ".foo("));
198 assertTrue("Interface method must be there", hasMethod(methods, ".bar("));
200 assertTrue("Declared method must be there", hasMethod(methods, ".gabba("));
201 assertTrue("Declared method must be there", hasMethod(methods, ".hey("));
203 assertTrue("Inherited method must be there", hasMethod(methods, ".toString("));