List of usage examples for org.objectweb.asm Opcodes interface-usage
From source file org.codehaus.griffon.ast.EventPublisherASTTransformation.java
/**
* Handles generation of code for the {@code @EventPublisher} annotation.
* <p/>
* Generally, it adds (if needed) a EventRouter field and
* the needed add/removeEventListener methods to support the
* listeners.
From source file org.codehaus.griffon.ast.ListenerASTTransformation.java
/**
* Handles generation of code for the {@code @Listener} annotation.
* <p/>
* Any closures found as the annotation's value will be either transformed
* into inner classes that implement PropertyChangeListener (when the value
* is a closue defined in place) or be casted as a proxy of PropertyChangeListener
From source file org.codehaus.griffon.compiler.support.ASTInjector.java
/**
*
* @author Andres Almiray
*
* @since 0.9.1
*/
From source file org.codehaus.groovy.ast.ClassNode.java
/**
* Represents a class in the AST.
* <p>
* A ClassNode should be created using the methods in ClassHelper.
* This ClassNode may be used to represent a class declaration or
* any other type. This class uses a proxy mechanism allowing to
From source file org.codehaus.groovy.ast.ClassNodeTest.java
/** * Tests the ClassNode */ public class ClassNodeTest extends TestCase implements Opcodes { ClassNode classNode = new ClassNode("Foo", ACC_PUBLIC, ClassHelper.OBJECT_TYPE);
From source file org.codehaus.groovy.ast.FieldNode.java
/** * Represents a field (member variable) */ public class FieldNode extends AnnotatedNode implements Opcodes, Variable { private String name;
From source file org.codehaus.groovy.ast.ImportNode.java
/** * Represents an import statement of a single class */ public class ImportNode extends AnnotatedNode implements Opcodes { private final ClassNode type;
From source file org.codehaus.groovy.ast.MethodNode.java
/** * Represents a method declaration. */ public class MethodNode extends AnnotatedNode implements Opcodes { private final String name;
From source file org.codehaus.groovy.ast.ModuleNode.java
/** * Represents a module, which consists typically of a class declaration * but could include some imports, some statements and multiple classes * intermixed with statements like scripts in Python or Ruby */ public class ModuleNode extends ASTNode implements Opcodes {
From source file org.codehaus.groovy.ast.PropertyNode.java
/** * Represents a property (member variable, a getter and setter) */ public class PropertyNode extends AnnotatedNode implements Opcodes, Variable { private FieldNode field;