Searched refs:getEnclosingClass (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | TypeVariableImpl.java | 92 return cl.getEnclosingClass();
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ReflectionTest.java | 441 assertNull(ReflectionTest.class.getEnclosingClass()); 442 assertEquals(ReflectionTest.class, Foo.class.getEnclosingClass()); 443 assertEquals(ReflectionTest.class, HasMemberClassesInterface.class.getEnclosingClass()); 445 HasMemberClassesInterface.D.class.getEnclosingClass()); 446 assertEquals(ReflectionTest.class, Foo.class.getEnclosingClass()); 459 assertEquals(ReflectionTest.class, C.class.getEnclosingClass()); 479 assertEquals(ReflectionTest.class, staticAnonymous.getClass().getEnclosingClass()); 499 assertEquals(Foo.class, foo.c.getEnclosingClass()); 509 assertEquals(Foo.class, foo.c.getEnclosingClass());
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | AnnotatedElementBenchmark.java | 166 anonymousClass.getClass().getEnclosingClass();
|
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | OldClassTest.java | 370 Class clazz = OldClassTest.class.getEnclosingClass(); 373 assertEquals(getClass(), Cls1.class.getEnclosingClass()); 374 assertEquals(getClass(), Intf1.class.getEnclosingClass()); 375 assertEquals(getClass(), Cls4.class.getEnclosingClass());
|
/libcore/ojluni/src/main/java/sun/invoke/util/ |
H A D | VerifyAccess.java | 266 for (Class<?> enc = c; (enc = enc.getEnclosingClass()) != null; )
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Class.java | 1197 public native Class<?> getEnclosingClass(); method in class:Class 1283 Class<?> enclosingClass = getEnclosingClass();
|
Completed in 121 milliseconds