Home
last modified time | relevance | path

Searched refs:isAnonymousClass (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java322 assertFalse(ReflectionTest.class.isAnonymousClass()); in testIsAnonymousClass()
323 assertFalse(A.class.isAnonymousClass()); in testIsAnonymousClass()
324 assertFalse($Dollar$1.class.isAnonymousClass()); in testIsAnonymousClass()
325 assertTrue(CLASS_LEVEL_ANONYMOUS.getClass().isAnonymousClass()); in testIsAnonymousClass()
326 assertTrue(methodLevelAnonymous.getClass().isAnonymousClass()); in testIsAnonymousClass()
327 assertFalse(Local.class.isAnonymousClass()); in testIsAnonymousClass()
328 assertFalse($Local$1.class.isAnonymousClass()); in testIsAnonymousClass()
329 assertFalse(int.class.isAnonymousClass()); in testIsAnonymousClass()
330 assertFalse(Object.class.isAnonymousClass()); in testIsAnonymousClass()
DAnnotationsTest.java258 assertFalse(AnnotationsTest.class.isAnonymousClass()); in testIsAnonymousClass()
259 assertFalse(Foo.class.isAnonymousClass()); in testIsAnonymousClass()
260 assertTrue(staticAnonymous.getClass().isAnonymousClass()); in testIsAnonymousClass()
/libcore/ojluni/src/main/java/java/lang/
DClass.java1159 if (isAnonymousClass()) { in getSimpleName()
1219 public native boolean isAnonymousClass(); in isAnonymousClass() method in Class
1230 && !isAnonymousClass(); in isLocalClass()
1252 return isLocalClass() || isAnonymousClass(); in isLocalOrAnonymousClass()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java199 anonymousClass.getClass().isAnonymousClass(); in timeIsAnonymousClass()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java565 assertFalse(PublicTestClass.class.isAnonymousClass()); in test_isAnonymousClass()
566 assertTrue((new Thread() {}).getClass().isAnonymousClass()); in test_isAnonymousClass()