Home
last modified time | relevance | path

Searched refs:getEnclosingMethod (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java471 assertEquals(null, C.D.class.getEnclosingMethod()); in testGetEnclosingMethodIsNotTransitive()
485 assertNull(staticAnonymous.getClass().getEnclosingMethod()); in testStaticFieldAnonymousClass()
490 assertNull(ReflectionTest.class.getEnclosingMethod()); in testGetEnclosingMethodOfTopLevelClass()
502 assertNull(foo.c.getEnclosingMethod()); in testClassEnclosedByConstructor()
512 foo.c.getEnclosingMethod()); in testClassEnclosedByMethod()
/libcore/luni/src/main/java/libcore/reflect/
DTypeVariableImpl.java87 Method m = cl.getEnclosingMethod(); in nextLayer()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java180 anonymousClass.getClass().getEnclosingMethod(); in timeGetEnclosingMethod()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java98 public java.lang.reflect.Method getEnclosingMethod() { throw new RuntimeException("Stub!"); } in getEnclosingMethod() method in Class
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java382 Method clazz = ExtendTestClass.class.getEnclosingMethod(); in test_getEnclosingMethod()
390 ptc.getLocalClass().getClass().getEnclosingMethod()); in test_getEnclosingMethod()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java97 @libcore.util.Nullable public java.lang.reflect.Method getEnclosingMethod() { throw new RuntimeExce… in getEnclosingMethod() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java155 public java.lang.reflect.Method getEnclosingMethod() { in getEnclosingMethod() method in Class
/libcore/ojluni/src/main/java/java/lang/
DClass.java1591 public Method getEnclosingMethod() { in getEnclosingMethod() method in Class
1997 return (getEnclosingMethod() != null || getEnclosingConstructor() != null) in isLocalClass()
/libcore/api/
Dcurrent.txt3104 method @Nullable public java.lang.reflect.Method getEnclosingMethod();