Searched refs:getEnclosingMethod (Results 1 – 3 of 3) sorted by relevance
132 assertEquals(null, C.D.class.getEnclosingMethod()); in testGetEnclosingMethodIsNotTransitive()144 assertNull(staticAnonymous.getClass().getEnclosingMethod()); in testStaticFieldAnonymousClass()149 assertNull(AnnotationsTest.class.getEnclosingMethod()); in testGetEnclosingMethodOfTopLevelClass()161 assertNull(foo.c.getEnclosingMethod()); in testClassEnclosedByConstructor()171 foo.c.getEnclosingMethod()); in testClassEnclosedByMethod()
379 Method clazz = ExtendTestClass.class.getEnclosingMethod(); in test_getEnclosingMethod()387 ptc.getLocalClass().getClass().getEnclosingMethod()); in test_getEnclosingMethod()
841 public Method getEnclosingMethod() { in getEnclosingMethod() method in Class