List of usage examples for org.objectweb.asm Opcodes interface-usage
From source file org.codehaus.groovy.transform.LazyASTTransformation.java
/**
* Handles generation of code for the @Lazy annotation
*
* @author Alex Tkachman
* @author Paul King
*/
From source file org.codehaus.groovy.transform.PackageScopeASTTransformation.java
/**
* Handles transformation for the @PackageScope annotation.
* <p>
* Both the deprecated groovy.lang.PackageScope and groovy.transform.PackageScope
* annotations are supported. The former will be removed in a future version of Groovy.
*
From source file org.codehaus.groovy.transform.ReadWriteLockASTTransformation.java
/**
* Handles generation of code for the {@code @}WithReadLock and {@code @}WithWriteLock annotation.<br>
* This transformation adds an instance of ReentrantReadWriteLock to the class.<br>
* Any method annotated with {@code @}WithReadLock will obtain a read lock and release it in a finally block.<br>
* Any method annotated with {@code @}WithWriteLock will obtain a write lock and release it in a finally block.<br>
* For more information see {@link WithReadLock} and {@link WithWriteLock}
From source file org.codehaus.groovy.transform.sc.transformers.CompareIdentityExpression.java
/**
* Compares two objects using identity comparison.
* This expression will generate bytecode using the IF_ACMPNE instruction, instead of
* using the "equals" method that is currently mapped to "==" in Groovy.
*
* This expression should only be used to compare to objects, not primitives, and only
From source file org.codehaus.groovy.transform.sc.transformers.CompareToNullExpression.java
public class CompareToNullExpression extends BinaryExpression implements Opcodes { private final boolean equalsNull; private final Expression objectExpression; public CompareToNullExpression(final Expression objectExpression, final boolean compareToNull) { super(objectExpression, new Token(Types.COMPARE_TO, compareToNull ? "==" : "!=", -1, -1),
From source file org.codehaus.groovy.transform.SingletonASTTransformation.java
/**
* Handles generation of code for the @Singleton annotation
*
* @author Alex Tkachman
*/
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
From source file org.codehaus.groovy.transform.SynchronizedASTTransformation.java
/**
* Handles generation of code for the {@code @}Synchronized annotation.
*
* @author Paul King
*/
@GroovyASTTransformation(phase = CompilePhase.CANONICALIZATION)
From source file org.copperengine.core.instrument.BuildStackInfoAdapter.java
public class BuildStackInfoAdapter extends MethodVisitor implements Opcodes, ByteCodeStackInfo { static final Logger logger = LoggerFactory.getLogger(BuildStackInfoAdapter.class); static final Type retAddressType = Type.getObjectType("ReturnAddress");
From source file org.copperengine.core.instrument.NullMethodVisitor.java
public class NullMethodVisitor extends MethodVisitor implements Opcodes { public NullMethodVisitor() { super(ASM4); }
From source file org.copperengine.core.instrument.ScottyClassAdapter.java
public class ScottyClassAdapter extends ClassVisitor implements Opcodes { private static final Logger logger = LoggerFactory.getLogger(ScottyClassAdapter.class); private String currentClassName; private final Set<String> interruptableMethods;