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.felix.ipojo.manipulation.InnerClassAdapter.java

/**
 * Adapts a inner class in order to allow accessing outer class fields.
 * A manipulated inner class has access to the managed field of the outer class.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class InnerClassAdapter extends ClassAdapter implements Opcodes {

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

/**
 * Analyze an inner class.
 * This visit collects the methods from the inner class.
 * @author <a href="mailto:dev@felix.apache.org">Felix Project Team</a>
 */
public class InnerClassChecker extends ClassVisitor implements Opcodes {

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 {

From source file org.apache.felix.ipojo.manipulation.MethodCreator.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 MethodCreator extends ClassAdapter implements Opcodes {

From source file org.apache.sling.metrics.impl.MetricsClassVisitor.java

/**
 * This class implements an ASM ClassVisitor which puts the appropriate
 * ThreadContextClassloader calls around applicable method invocations. It does
 * the actual bytecode weaving.
 */
public class MetricsClassVisitor extends ClassVisitor implements Opcodes {

From source file org.apache.tuscany.sca.interfacedef.java.jaxrs.RootResourceClassGenerator.java

public class RootResourceClassGenerator implements Opcodes {

    private static final String DELEGATE_FIELD = "delegate";

    public static Class<?> generateRootResourceClass(Class<?> interfaze, String path, String consumes,
            String produces) throws Exception {

From source file org.apache.tuscany.sca.interfacedef.java.jaxws.BaseBeanGenerator.java

public abstract class BaseBeanGenerator implements Opcodes {
    private static final Map<String, String> COLLECTION_CLASSES = new HashMap<String, String>();

    static {
        COLLECTION_CLASSES.put("Ljava/util/Collection;", "java/util/ArrayList");
        COLLECTION_CLASSES.put("Ljava/util/List;", "java/util/ArrayList");

From source file org.cacheonix.impl.transformer.ByteInstruction.java

/**
 * Utility class to help get the Byte code instruction and the Stack Index for the local variables for a method
 */
public class ByteInstruction implements Opcodes {

    public int code;

From source file org.cacheonix.impl.transformer.CacheonixMethodGenerator.java

/**
 * Injects the code in the method to look into the Cacheonix cache based on the annotation parameters first before
 * requesting the data from the source. User's method is renamed to the format: orig$Cacheonix$methodName refer to
 * <code>LocalStackUtil</code> for more information on the generated method body.
 */
public class CacheonixMethodGenerator implements Opcodes {

From source file org.cakeframework.container.spi.DynamicContainerFactoryTest.java

/**
 * Tests {@link DynamicContainerFactory}.
 *
 * @author Kasper Nielsen
 */
public class DynamicContainerFactoryTest implements Opcodes {