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.apache.commons.jci.classes.SimpleDump.java

public class SimpleDump implements Opcodes {

    public static byte[] dump(final String to) throws Exception {

        ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS);
        MethodVisitor mv;

From source file org.apache.directmemory.lightning.internal.generator.BytecodeMarshallerGenerator.java

public class BytecodeMarshallerGenerator implements Opcodes, GeneratorConstants, MarshallerGenerator {

    private final GeneratorClassLoader classloader = CreateClassLoader
            .createClassLoader(getClass().getClassLoader());

    @Override

From source file org.apache.felix.ipojo.composite.service.provides.POJOWriter.java

/**
 * Create the Proxy class.
 * 
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class POJOWriter implements Opcodes {

From source file org.apache.felix.ipojo.extender.internal.processor.ConfigurationAnnotationScanner.java

/**
 * Class visitor detecting @Configuration annotation.
 * <p/>
 * After the visit, two state variables are set:
 * {@literal isConfiguration} is set to true if the class contained the @Configuration annotation
 * {@literal parent} is set to the parent class if and only if it's not a java.* class (which don't contain the

From source file org.apache.felix.ipojo.handler.temporal.ProxyGenerator.java

/**
 * Generates proxy class delegating operation invocations thanks to a
 * a temporal dependency.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class ProxyGenerator implements Opcodes {

From source file org.apache.felix.ipojo.handlers.dependency.ProxyGenerator.java

/**
 * Generates proxy class delegating operation invocations thanks to a
 * a dependency.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class ProxyGenerator implements Opcodes {

From source file org.apache.felix.ipojo.manipulation.annotations.MetadataCollector.java

/**
 * Collect metadata from classes by parsing annotation.
 * This class collects type (i.e.) annotations and create method & field collectors.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class MetadataCollector extends EmptyVisitor implements Opcodes {

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

/**
 * Checks that a POJO is already manipulated or not.
 * Moreover it allows to get manipulation data about this class. 
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class ClassChecker extends EmptyVisitor implements ClassVisitor, Opcodes {

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

/**
 * iPOJO Class Adapter.
 * This class adapt the visited class to link the class with the container.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class ClassManipulator extends ClassVisitor implements Opcodes {

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>