Package org.objectweb.asm.tree

Examples of org.objectweb.asm.tree.MethodNode


        node.name = "bindService";
        assertEquals("Service", getMethodIdentifier(node));
    }

    public void testUnbindPatternRecognition() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "unbindService";
        assertEquals("Service", getMethodIdentifier(node));
    }
View Full Code Here


        node.name = "unbindService";
        assertEquals("Service", getMethodIdentifier(node));
    }

    public void testSetPatternRecognition() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "setService";
        assertEquals("Service", getMethodIdentifier(node));
    }
View Full Code Here

        node.name = "setService";
        assertEquals("Service", getMethodIdentifier(node));
    }

    public void testUnsetPatternRecognition() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "unsetService";
        assertEquals("Service", getMethodIdentifier(node));
    }
View Full Code Here

        node.name = "unsetService";
        assertEquals("Service", getMethodIdentifier(node));
    }

    public void testAddPatternRecognition() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "addService";
        assertEquals("Service", getMethodIdentifier(node));
    }
View Full Code Here

        node.name = "addService";
        assertEquals("Service", getMethodIdentifier(node));
    }

    public void testRemovePatternRecognition() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "removeService";
        assertEquals("Service", getMethodIdentifier(node));
    }
View Full Code Here

        node.name = "removeService";
        assertEquals("Service", getMethodIdentifier(node));
    }

    public void testModifiedPatternRecognition() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "modifiedService";
        assertEquals("Service", getMethodIdentifier(node));
    }
View Full Code Here

        node.name = "modifiedService";
        assertEquals("Service", getMethodIdentifier(node));
    }

    public void testNoPatternRecognized() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "notify";
        node.desc = "()V";
        assertNull(getMethodIdentifier(node));
    }
View Full Code Here

        node.desc = "()V";
        assertNull(getMethodIdentifier(node));
    }

    public void testSpecificationRecognized() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "handle";
        node.desc = "(Lmy/Service;)V";
        assertEquals("my.Service", getMethodIdentifier(node));
    }
View Full Code Here

        node.desc = "(Lmy/Service;)V";
        assertEquals("my.Service", getMethodIdentifier(node));
    }

    public void testSpecificationRecognizedWithMap() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "handle";
        node.desc = "(Lmy/Service;Ljava/util/Map;)V";
        assertEquals("my.Service", getMethodIdentifier(node));
    }
View Full Code Here

        node.desc = "(Lmy/Service;Ljava/util/Map;)V";
        assertEquals("my.Service", getMethodIdentifier(node));
    }

    public void testSpecificationRecognizedWithDictionary() throws Exception {
        MethodNode node = new MethodNode();
        node.name = "handle";
        node.desc = "(Lmy/Service;Ljava/util/Dictionary;)V";
        assertEquals("my.Service", getMethodIdentifier(node));
    }
View Full Code Here

TOP

Related Classes of org.objectweb.asm.tree.MethodNode

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.