- org.codehaus.groovy.classgen.asm.ExpressionAsVariableSlot
-
Helper class that takes an Expression and if visited will load it normally,
storing the result in a helper variable, which then can be requested after
the visit is completed. A copy of the variable will stay on the stack.
Subsequent visits will load the stored value instead of visiting the
expression again
- Authors:
- Jochen "blackdrag" Theodorou
-
-
Methods Summary
Methods
Type |
Name and description |
int |
getIndex() returns the index of the bytecode variable |
String |
getText()
|
void |
visit(org.objectweb.asm.MethodVisitor mv)
|
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class BytecodeExpression |
transformExpression, visit, visit |
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 |
-
-
Method Detail
-
@Override
public void visit(org.objectweb.asm.MethodVisitor mv)
Copyright © 2003-2015 The Apache Software Foundation. All rights reserved.