Searched refs:anonymous (Results 1 – 3 of 3) sorted by relevance
171 Object anonymous = new InterfaceA() { in testImplementedInterfaceMethodOfAnonymousClass() local175 Method method = anonymous.getClass().getMethod("a"); in testImplementedInterfaceMethodOfAnonymousClass()176 assertEquals(anonymous.getClass(), method.getDeclaringClass()); in testImplementedInterfaceMethodOfAnonymousClass()180 Object anonymous = new Object() { in testPublicMethodOfAnonymousClass() local184 Method method = anonymous.getClass().getMethod("a"); in testPublicMethodOfAnonymousClass()185 assertEquals(anonymous.getClass(), method.getDeclaringClass()); in testPublicMethodOfAnonymousClass()189 Object anonymous = new Object() { in testGetMethodDoesNotReturnPrivateMethodOfAnonymousClass() local194 anonymous.getClass().getMethod("a"); in testGetMethodDoesNotReturnPrivateMethodOfAnonymousClass()201 Object anonymous = new Object() { in testGetDeclaredMethodReturnsPrivateMethodOfAnonymousClass() local205 Method method = anonymous.getClass().getDeclaredMethod("a"); in testGetDeclaredMethodReturnsPrivateMethodOfAnonymousClass()[all …]
263 private boolean anonymous; field in Logger417 if (!anonymous) { in checkPermission()642 result.anonymous = true; in getAnonymousLogger()
465 private boolean anonymous; field in Logger