Example usage for org.objectweb.asm Opcodes interface-usage

List of usage examples for org.objectweb.asm Opcodes interface-usage

Introduction

In this page you can find the example usage for org.objectweb.asm Opcodes interface-usage.

Usage

From source file org.jboss.byteman.rule.compiler.Compiler.java

/**
 * A class which compiles a rule by generating a subclass of the rule's helperClass which implements
 * the HelperAdapter interface
 */
public class Compiler implements Opcodes {
    public static Class getHelperAdapter(Rule rule, Class helperClass, boolean compileToBytecode)

From source file org.joni.AsmCompilerSupport.java

abstract class AsmCompilerSupport extends Compiler implements Opcodes, AsmConstants {
    protected ClassWriter factory; // matcher allocator, also bit set, code rage and string template container
    protected MethodVisitor factoryInit;// factory constructor
    protected String factoryName;

    protected ClassWriter machine; // matcher

From source file org.jruby.compiler.impl.StandardASMCompiler.java

/**
 *
 * @author headius
 */
public class StandardASMCompiler implements ScriptCompiler, Opcodes {
    public static final String THREADCONTEXT = p(ThreadContext.class);

From source file org.jruby.internal.runtime.methods.InvocationMethodFactory.java

/**
 * In order to avoid the overhead with reflection-based method handles, this
 * MethodFactory uses ASM to generate tiny invoker classes. This allows for
 * better performance and more specialization per-handle than can be supported
 * via reflection. It also allows optimizing away many conditionals that can
 * be determined once ahead of time.

From source file org.jruby.runtime.callback.InvocationCallbackFactory.java

public class InvocationCallbackFactory extends CallbackFactory implements Opcodes {
    private final Class type;
    final ProtectionDomain protectionDomain;
    protected final JRubyClassLoader classLoader;
    private final String typePath;
    protected final Ruby runtime;

From source file org.jvnet.jax_ws_commons.beans_generator.ambassador.impl.asm.ASMAmbassadorInvokableClassAnalyst.java

/**
 * Created: 05.07.2007
 * 
 * @author Malyshkin Fedor (fedor.malyshkin@magnetosoft.ru)
 * @version $Revision$
 */

From source file org.jvnet.jax_ws_commons.beans_generator.ambassador.impl.asm.ASMAmbassadorWrapperClassConstructorCreator.java

/**
 * Created: 05.06.2007
 * @author Malyshkin Fedor (fedor.malyshkin@magnetosoft.ru)
 * @version $Revision: 240 $
 */
class ASMAmbassadorWrapperClassConstructorCreator implements MethodVisitor, Opcodes {

From source file org.jvnet.jax_ws_commons.beans_generator.ambassador.impl.asm.ASMAmbassadorWrapperClassCreator.java

/**
 * Classs which creates 'ambassador' class.
 * 
 * 
 * Created: 04.06.2007
 * @author Malyshkin Fedor (fedor.malyshkin@magnetosoft.ru)

From source file org.jvnet.jax_ws_commons.beans_generator.ambassador.impl.asm.ASMAmbassadorWrapperMethodGenerator.java

/**
 * Generator of method wrappers.
 * 
 * Created: 06.06.2007
 * @author Malyshkin Fedor (fedor.malyshkin@magnetosoft.ru)
 * @version $Revision: 240 $

From source file org.kantega.dogmaticmvc.instrumentation.AddLocalVariableMethodVisitor.java

/**
 */
public class AddLocalVariableMethodVisitor extends LocalVariablesSorter implements Opcodes {
    private final int classRef;
    private int lineCountsLocalVariable;
    private InstrumentingMethodVisitor lineConverageVisitor;