Searched refs:staticMethod (Results 1 - 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
H A DLambdaImplementationTest.java85 Callable<String> r1 = LambdaImplementationTest::staticMethod;
95 callables.add(LambdaImplementationTest::staticMethod);
405 private static String staticMethod() { method in class:LambdaImplementationTest
H A DClassTest.java208 public static void staticMethod(String foo) { method in class:ClassTest.TestGetVirtualMethod
264 assertNull(TestGetVirtualMethod.class.getInstanceMethod("staticMethod", noArgs));
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DMethodTest.java351 static String staticMethod() { method in interface:MethodTest.InterfaceWithStatic
357 Method method = InterfaceWithStatic.class.getMethod("staticMethod");
364 Method declaredMethod = InterfaceWithStatic.class.getDeclaredMethod("staticMethod");
372 assertEquals(interfaceWithStaticClassName, InterfaceWithStatic.staticMethod());
374 Method method = InterfaceWithStatic.class.getMethod("staticMethod");
381 Method method = InterfaceWithStatic.class.getMethod("staticMethod");
/libcore/luni/src/test/java/libcore/java/lang/invoke/
H A DMethodHandlesTest.java457 public static String staticMethod() { return staticString; } method in class:MethodHandlesTest.BarImpl
473 BarImpl.class, "staticMethod", MethodType.methodType(String.class));
562 MethodHandles.lookup().findStatic(BarImpl.class, "staticMethod",
565 MethodHandles.lookup().findStatic(BarImpl.class, "staticMethod",
572 MethodHandles.lookup().findStatic(BarImpl.class, "staticMethod",

Completed in 189 milliseconds