Package javassist.bytecode.analysis

Examples of javassist.bytecode.analysis.Subroutine


        verifySubroutine(subs, 123, 31, new int[]{125, 25});
    }

    private static void verifySubroutine(Subroutine[] subs, int pos, int start,
            int[] callers) {
        Subroutine sub = subs[pos];
        assertNotNull(sub);
        assertEquals(sub.start(), start);
        for (int i = 0; i < callers.length; i++)
            assertTrue(sub.callers().contains(new Integer(callers[i])));
    }
View Full Code Here

TOP

Related Classes of javassist.bytecode.analysis.Subroutine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.