Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java328 assertFalse(ReflectionTest.class.isAnonymousClass()); in testIsAnonymousClass()
329 assertFalse(A.class.isAnonymousClass()); in testIsAnonymousClass()
330 assertFalse($Dollar$1.class.isAnonymousClass()); in testIsAnonymousClass()
331 assertTrue(CLASS_LEVEL_ANONYMOUS.getClass().isAnonymousClass()); in testIsAnonymousClass()
332 assertTrue(methodLevelAnonymous.getClass().isAnonymousClass()); in testIsAnonymousClass()
333 assertFalse(Local.class.isAnonymousClass()); in testIsAnonymousClass()
334 assertFalse($Local$1.class.isAnonymousClass()); in testIsAnonymousClass()
335 assertFalse(int.class.isAnonymousClass()); in testIsAnonymousClass()
336 assertFalse(Object.class.isAnonymousClass()); in testIsAnonymousClass()
/libcore/ojluni/src/main/java/java/lang/
DClass.java1218 if (isAnonymousClass()) { in getSimpleName()
1305 public native boolean isAnonymousClass(); in isAnonymousClass() method in Class
1316 && !isAnonymousClass(); in isLocalClass()
1338 return isLocalClass() || isAnonymousClass(); in isLocalOrAnonymousClass()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java199 anonymousClass.getClass().isAnonymousClass(); in timeIsAnonymousClass()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java113 public native boolean isAnonymousClass(); in isAnonymousClass() method in Class
/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()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java108 public native boolean isAnonymousClass(); in isAnonymousClass() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java185 public native boolean isAnonymousClass(); in isAnonymousClass() method in Class