Example usage for org.objectweb.asm.commons GeneratorAdapter subclass-usage

List of usage examples for org.objectweb.asm.commons GeneratorAdapter subclass-usage

Introduction

In this page you can find the example usage for org.objectweb.asm.commons GeneratorAdapter subclass-usage.

Usage

From source file blue.origami.asm.OGeneratorAdapter.java

public class OGeneratorAdapter extends GeneratorAdapter {
    private final VarScopes varScopes;
    private int currentLineNum = -1;

    public OGeneratorAdapter(MethodVisitor mv, int acc, String name, String methodDesc) {
        super(Opcodes.ASM5, mv, acc, name, methodDesc);

From source file com.alibaba.hotswap.processor.basic.BaseMethodAdapter.java

/**
 * @author yong.zhuy 2012-6-13
 */
public class BaseMethodAdapter extends GeneratorAdapter {

    protected String className;

From source file com.alibaba.hotswap.processor.jdk.classloader.modifier.DefineClassMethodModifier.java

/**
 * @author yong.zhuy 2012-5-21 15:41:49
 */
public class DefineClassMethodModifier extends GeneratorAdapter {

    public DefineClassMethodModifier(MethodVisitor mv, int access, String name, String desc) {

From source file com.xruby.compiler.codegen.MethodGenerator.java

class MethodGenerator extends GeneratorAdapter {

    private SymbolTable symbol_table_;
    private IntegerTable integer_table_ = new IntegerTable();
    private List<Class> current_types_on_stack_ = new ArrayList<Class>();
    private List<Integer> saved_vars_ = new ArrayList<Integer>();//may be have same length of current_types_on_stack_

From source file de.enough.polish.postcompile.java5.CloneMethodVisitor.java

public class CloneMethodVisitor extends GeneratorAdapter implements Opcodes {
    private static final Type TYPE_SYSTEM = Type.getType("Ljava/lang/System;");

    private static final Method METHOD_ARRAYCOPY = Method
            .getMethod("void arraycopy(java.lang.Object, int, java.lang.Object, int, int)");

From source file de.enough.polish.postcompile.java5.EnumMethodVisitor.java

/**
 * @author mkoch
 *
 */
public class EnumMethodVisitor extends GeneratorAdapter implements Opcodes {
    private Type owner;

From source file net.enilink.composition.asm.util.InsnListGenerator.java

/**
 * Extension of {@link GeneratorAdapter} to allow the generation of
 * {@link InsnList}s.
 * 
 * @author Ken Wenzel
 * 

From source file org.apache.aries.proxy.impl.common.AbstractWovenProxyMethodAdapter.java

/**
 * This class weaves dispatch and listener code into a method, there are two known
 * subclasses {@link WovenProxyConcreteMethodAdapter} is used for weaving instance methods
 * {@link WovenProxyAbstractMethodAdapter} is used to provide a delegating
 * implementation of an interface method.
 * 

From source file org.apache.felix.ipojo.manipulation.ConstructorCodeAdapter.java

/**
 * Constructor Adapter.
 * This class adds an instance manager argument (so switch variable index).
 * Moreover, it adapts field accesses to delegate accesses to the instance 
 * manager if needed.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>

From source file org.apache.felix.ipojo.manipulation.MethodCodeAdapter.java

/**
 * Insert code calling callbacks at the entry and before the exit of a method.
 * Moreover it replaces all GETFIELD and SETFIELD by getter and setter invocation.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class MethodCodeAdapter extends GeneratorAdapter implements Opcodes {