Package org.codehaus.groovy.classgen.asm
Class BytecodeVariable
- java.lang.Object
- 
- org.codehaus.groovy.classgen.asm.BytecodeVariable
 
- 
 public class BytecodeVariable extends java.lang.ObjectRepresents compile time variable metadata while compiling a method.
- 
- 
Field SummaryFields Modifier and Type Field Description static BytecodeVariableSUPER_VARIABLEstatic BytecodeVariableTHIS_VARIABLE
 - 
Constructor SummaryConstructors Constructor Description BytecodeVariable(int index, ClassNode type, java.lang.String name, int prevCurrent)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.objectweb.asm.LabelgetEndLabel()intgetIndex()java.lang.StringgetName()intgetPrevIndex()org.objectweb.asm.LabelgetStartLabel()ClassNodegetType()booleanisDynamicTyped()booleanisHolder()voidsetDynamicTyped(boolean b)voidsetEndLabel(org.objectweb.asm.Label endLabel)voidsetHolder(boolean holder)voidsetStartLabel(org.objectweb.asm.Label startLabel)voidsetType(ClassNode type)java.lang.StringtoString()
 
- 
- 
- 
Field Detail- 
THIS_VARIABLEpublic static final BytecodeVariable THIS_VARIABLE 
 - 
SUPER_VARIABLEpublic static final BytecodeVariable SUPER_VARIABLE 
 
- 
 - 
Constructor Detail- 
BytecodeVariablepublic BytecodeVariable(int index, ClassNode type, java.lang.String name, int prevCurrent)
 
- 
 - 
Method Detail- 
getNamepublic java.lang.String getName() 
 - 
getTypepublic ClassNode getType() 
 - 
getIndexpublic int getIndex() - Returns:
- the stack index for this variable
 
 - 
isHolderpublic boolean isHolder() - Returns:
- is this local variable shared in other scopes (and so must use a ValueHolder)
 
 - 
setHolderpublic void setHolder(boolean holder) 
 - 
getStartLabelpublic org.objectweb.asm.Label getStartLabel() 
 - 
setStartLabelpublic void setStartLabel(org.objectweb.asm.Label startLabel) 
 - 
getEndLabelpublic org.objectweb.asm.Label getEndLabel() 
 - 
setEndLabelpublic void setEndLabel(org.objectweb.asm.Label endLabel) 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
setTypepublic void setType(ClassNode type) 
 - 
setDynamicTypedpublic void setDynamicTyped(boolean b) 
 - 
isDynamicTypedpublic boolean isDynamicTyped() 
 - 
getPrevIndexpublic int getPrevIndex() 
 
- 
 
-