Examples of MethodInsnNode


Examples of org.objectweb.asm.tree.MethodInsnNode

  public AbstractInsnNode toInsn(int opcode)
  {
    if (isClass())
      return new TypeInsnNode(opcode, s_owner);
    else if (isMethod())
      return new MethodInsnNode(opcode, s_owner, s_name, s_desc);
    else
      return new FieldInsnNode(opcode, s_owner, s_name, s_desc);
  }
View Full Code Here

Examples of org.ow2.asm.tree.MethodInsnNode

        assertEquals("J", ((TypeInsnNode) it.next()).desc);
       
        MultiANewArrayInsnNode n3 = (MultiANewArrayInsnNode) it.next();
        assertEquals("[[LB1;", n3.desc);
       
        MethodInsnNode n4 = (MethodInsnNode) it.next();
        assertEquals("D1", n4.owner);
        assertEquals("([[LB1;LC1;LD1;)LC1;", n4.desc);
       
        FrameNode fn0 = (FrameNode) it.next();
        assertEquals(Collections.EMPTY_LIST, fn0.local);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.