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.codehaus.groovy.tools.DgmConverter.java

public class DgmConverter implements Opcodes {

    public static void main(String[] args) throws IOException {
        String targetDirectory = "target/classes/";
        boolean info = (args.length == 1 && args[0].equals("--info"))
                || (args.length == 2 && args[0].equals("--info"));

From source file org.codehaus.groovy.transform.AbstractASTTransformation.java

public abstract class AbstractASTTransformation implements Opcodes, ASTTransformation, ErrorCollecting {
    public static final ClassNode RETENTION_CLASSNODE = ClassHelper.makeWithoutCaching(Retention.class);

    protected SourceUnit sourceUnit;

    /**

From source file org.codehaus.groovy.transform.AbstractASTTransformUtil.java

/**
 * @deprecated use org.codehaus.groovy.ast.tools.GeneralUtils
 */
@Deprecated
public abstract class AbstractASTTransformUtil implements Opcodes {
    @Deprecated

From source file org.codehaus.groovy.transform.AbstractInterruptibleASTTransformation.java

/**
 * Base class for AST Transformations which will automatically throw an {@link InterruptedException} when
 * some conditions are met.
 *
 * @since 1.8.0
 */

From source file org.codehaus.groovy.transform.CategoryASTTransformation.java

/**
 * Handles generation of code for the @Category annotation.
 * <p>
 * Transformation logic is as follows:
 * <ul>
 * <li>all non-static methods converted to static ones with an additional 'self' parameter</li>

From source file org.codehaus.groovy.transform.DelegateASTTransformation.java

/**
 * Handles generation of code for the <code>@Delegate</code> annotation
 *
 * @author Alex Tkachman
 * @author Guillaume Laforge
 * @author Paul King

From source file org.codehaus.groovy.transform.FieldASTTransformation.java

/**
 * Handles transformation for the @Field annotation.
 */
@GroovyASTTransformation(phase = CompilePhase.SEMANTIC_ANALYSIS)
public class FieldASTTransformation extends ClassCodeExpressionTransformer implements ASTTransformation, Opcodes {

From source file org.codehaus.groovy.transform.ImmutableASTTransformation.java

/**
 * Handles generation of code for the @Immutable annotation.
 * This is experimental, use at your own risk.
 *
 * @author Paul King
 */

From source file org.codehaus.groovy.transform.IndexedPropertyASTTransformation.java

/**
 * Handles generation of code for the {@code @}IndexedProperty annotation.
 *
 * @author Paul King
 */
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)

From source file org.codehaus.groovy.transform.InheritConstructorsASTTransformation.java

/**
 * Handles generation of code for the {@code @}InheritConstructors annotation.
 *
 * @author Paul King
 */
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)