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 groovy.bugs.G3839Transform3.java

@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
public class G3839Transform3 implements ASTTransformation, Opcodes {

    public void visit(ASTNode[] nodes, SourceUnit sourceUnit) {
        ClassNode classNode = (ClassNode) nodes[1];
        classNode.addField(new FieldNode("f3", ACC_PUBLIC, ClassHelper.OBJECT_TYPE, classNode, null));

From source file groovy.swt.databinding.BindableASTTransformation.java

/**
 * Handles generation of code for the {@code @Bindable} annotation when {@code @Vetoable}
 * is not present.
 * <p/>
 * Generally, it adds (if needed) a PropertyChangeSupport field and
 * the needed add/removePropertyChangeListener methods to support the

From source file groovy.util.ProxyGeneratorAdapter.java

/**
 * A proxy generator responsible for mapping a map of closures to a class implementing a list of interfaces. For
 * example, the following code:
 * <pre>
 *     abstract class Foo {
 *         abstract void bar();

From source file groovyx.javafx.beans.FXBindableASTTransformation.java

/**
 * Handles generation of code for the {@code @FXBindable}
 * <p/>
 * Generally, it adds (if needed) a javafx.beans.property.Property type
 * <p/>
 * It also generates the setter and getter and wires the them through the

From source file guru.nidi.maven.tools.backport7to6.Transform7to6.java

class Transform7to6 extends ClassVisitor implements Opcodes {
    private final String filename;

    private Transform7to6(String filename, ClassVisitor cv) {
        super(ASM5, cv);
        this.filename = filename;

From source file icom.weaver.JpaClassAdapter.java

public class JpaClassAdapter extends ClassAdapter implements Opcodes, Descriptors {

    static HashMap<String, PersistenceClassType> persistenceClassTypes = new HashMap<String, PersistenceClassType>();

    static {
        persistenceClassTypes.put(entityAnnotationDesc, PersistenceClassType.Entity);

From source file icom.weaver.JpaIdentifyPersistenceClass.java

public class JpaIdentifyPersistenceClass implements ClassVisitor, AnnotationVisitor, Opcodes, Descriptors {

    ClassFileTransformerImpl transformer;

    public JpaIdentifyPersistenceClass(ClassFileTransformerImpl transformer) {
        super();

From source file icom.weaver.JpaMethodAdapter.java

public class JpaMethodAdapter extends MethodAdapter implements Opcodes, Descriptors {

    ClassDefinition classDefn;
    int oprandStackIncrement;

    String methodName;

From source file icom.weaver.JpaTopLevelConstructorMethodAdapter.java

public class JpaTopLevelConstructorMethodAdapter extends MethodAdapter implements Opcodes, Descriptors {

    ClassDefinition classDefn;
    String methodName;
    String methodDescriptor;
    int numArguments;

From source file icom.weaver.JpaTopLevelDeleteMethodAdapter.java

public class JpaTopLevelDeleteMethodAdapter extends MethodAdapter implements Opcodes, Descriptors {

    ClassDefinition classDefn;
    String methodName;
    String methodDescriptor;
    int numArguments;