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

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

Introduction

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

Prototype

@Override
    public void visitVarInsn(final int opcode, final int var) 

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);
    constructor.visitInsn(DUP);/*from   ww  w.  ja v a2  s  . c o m*/
    constructor.visitMethodInsn(INVOKESPECIAL, superClassInternalFQName, "<init>", "()V", false);

}