Home
last modified time | relevance | path

Searched refs:anonymous (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DMethodTest.java171 Object anonymous = new InterfaceA() { in testImplementedInterfaceMethodOfAnonymousClass() local
175 Method method = anonymous.getClass().getMethod("a"); in testImplementedInterfaceMethodOfAnonymousClass()
176 assertEquals(anonymous.getClass(), method.getDeclaringClass()); in testImplementedInterfaceMethodOfAnonymousClass()
180 Object anonymous = new Object() { in testPublicMethodOfAnonymousClass() local
184 Method method = anonymous.getClass().getMethod("a"); in testPublicMethodOfAnonymousClass()
185 assertEquals(anonymous.getClass(), method.getDeclaringClass()); in testPublicMethodOfAnonymousClass()
189 Object anonymous = new Object() { in testGetMethodDoesNotReturnPrivateMethodOfAnonymousClass() local
194 anonymous.getClass().getMethod("a"); in testGetMethodDoesNotReturnPrivateMethodOfAnonymousClass()
201 Object anonymous = new Object() { in testGetDeclaredMethodReturnsPrivateMethodOfAnonymousClass() local
205 Method method = anonymous.getClass().getDeclaredMethod("a"); in testGetDeclaredMethodReturnsPrivateMethodOfAnonymousClass()
[all …]
/libcore/ojluni/src/main/java/java/util/logging/
DLogger.java263 private boolean anonymous; field in Logger
417 if (!anonymous) { in checkPermission()
642 result.anonymous = true; in getAnonymousLogger()
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DLogger.java465 private boolean anonymous; field in Logger