[Java] Class BytecodeExpression
- org.codehaus.groovy.classgen.BytecodeExpression
Represents some custom bytecode generation by the compiler
- Authors:
- James Strachan
Field Summary
Modifiers | Name | Description |
---|---|---|
static BytecodeExpression | NOP |
Constructor Summary
Constructor and description |
---|
BytecodeExpression
() |
BytecodeExpression
(ClassNode type) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
Expression |
transformExpression(ExpressionTransformer transformer) | |
void |
visit(GroovyCodeVisitor visitor) | |
void |
visit(org.objectweb.asm.MethodVisitor mv) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Expression | getType, setType, transformExpression, transformExpressions, transformExpressions |
class AnnotatedNode | addAnnotation, addAnnotations, getAnnotations, getAnnotations, getDeclaringClass, hasNoRealSourcePosition, isSynthetic, setDeclaringClass, setHasNoRealSourcePosition, setSynthetic |
class ASTNode | copyNodeMetaData, getColumnNumber, getLastColumnNumber, getLastLineNumber, getLineNumber, getNodeMetaData, getNodeMetaData, getText, putNodeMetaData, removeNodeMetaData, setColumnNumber, setLastColumnNumber, setLastLineNumber, setLineNumber, setNodeMetaData, setSourcePosition, visit |
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
public static final BytecodeExpression NOP
Constructor Detail
public BytecodeExpression()
public BytecodeExpression(ClassNode type)
Method Detail
public Expression transformExpression(ExpressionTransformer transformer)
public void visit(GroovyCodeVisitor visitor)
public void visit(org.objectweb.asm.MethodVisitor mv)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/classgen/BytecodeExpression.html