Home
last modified time | relevance | path

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

/external/javassist/src/test/javassist/
DJvstTest2.java534 assertTrue(inner.getEnclosingBehavior() == null); in testDeclaringClass2()
536 assertEquals("make", inner.getEnclosingBehavior().getName()); in testDeclaringClass2()
539 inner.getEnclosingBehavior().getDeclaringClass()); in testDeclaringClass2()
542 assertNull(out.getEnclosingBehavior()); in testDeclaringClass2()
543 assertNull(out.getEnclosingBehavior()); in testDeclaringClass2()
546 assertTrue(inner2.getEnclosingBehavior() instanceof CtConstructor); in testDeclaringClass2()
547 … assertEquals(sloader.get("test2.Anon$Anon2"), inner2.getEnclosingBehavior().getDeclaringClass()); in testDeclaringClass2()
549 assertTrue(inner3.getEnclosingBehavior() instanceof CtConstructor); in testDeclaringClass2()
550 assertTrue(((CtConstructor)inner3.getEnclosingBehavior()).isClassInitializer()); in testDeclaringClass2()
551 … assertEquals(sloader.get("test2.Anon$Anon3"), inner3.getEnclosingBehavior().getDeclaringClass()); in testDeclaringClass2()
/external/javassist/src/main/javassist/
DCtClass.java789 CtBehavior b = getEnclosingBehavior(); in getEnclosingMethod()
806 public CtBehavior getEnclosingBehavior() throws NotFoundException { in getEnclosingBehavior() method in CtClass
DCtClassType.java891 public CtBehavior getEnclosingBehavior() throws NotFoundException in getEnclosingBehavior() method in CtClassType