Searched refs:getEnclosingMethod (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/libcore/reflect/
H A DTypeVariableImpl.java87 Method m = cl.getEnclosingMethod();
/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DReflectionTest.java471 assertEquals(null, C.D.class.getEnclosingMethod());
485 assertNull(staticAnonymous.getClass().getEnclosingMethod());
490 assertNull(ReflectionTest.class.getEnclosingMethod());
502 assertNull(foo.c.getEnclosingMethod());
512 foo.c.getEnclosingMethod());
/libcore/benchmarks/src/benchmarks/regression/
H A DAnnotatedElementBenchmark.java180 anonymousClass.getClass().getEnclosingMethod();
/libcore/luni/src/test/java/libcore/java/lang/
H A DOldClassTest.java379 Method clazz = ExtendTestClass.class.getEnclosingMethod();
384 assertEquals("getEnclosingMethod returns incorrect method.",
387 ptc.getLocalClass().getClass().getEnclosingMethod());
/libcore/ojluni/src/main/java/java/lang/
H A DClass.java1136 public Method getEnclosingMethod() { method in class:Class
1312 return (getEnclosingMethod() != null || getEnclosingConstructor() != null)

Completed in 2204 milliseconds