Example usage for org.objectweb.asm.commons AdviceAdapter visitMethodInsn

List of usage examples for org.objectweb.asm.commons AdviceAdapter visitMethodInsn

Introduction

In this page you can find the example usage for org.objectweb.asm.commons AdviceAdapter visitMethodInsn.

Prototype

@Override
    public void visitMethodInsn(final int opcodeAndSource, final String owner, final String name,
            final String descriptor, final boolean isInterface) 

Source Link

Usage

From source file:com.axway.jmb.builders.Constructors.java

License:Open Source License

private static void callSuperConstructor(AdviceAdapter constructor, String superClassInternalFQName) {

    constructor.visitVarInsn(ALOAD, 0);//from   w  w  w  . j a  v  a 2  s  . c  om
    constructor.visitInsn(DUP);
    constructor.visitMethodInsn(INVOKESPECIAL, superClassInternalFQName, "<init>", "()V", false);

}