Package org.codehaus.groovy.classgen.asm
Class BytecodeVariable
java.lang.Object
org.codehaus.groovy.classgen.asm.BytecodeVariable
Represents compile time variable metadata while compiling a method.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.objectweb.asm.LabelintgetIndex()getName()intorg.objectweb.asm.LabelgetType()booleanbooleanisHolder()voidsetDynamicTyped(boolean b) voidsetEndLabel(org.objectweb.asm.Label endLabel) voidsetHolder(boolean holder) voidsetStartLabel(org.objectweb.asm.Label startLabel) voidtoString()
- 
Field Details- 
THIS_VARIABLE
- 
SUPER_VARIABLE
 
- 
- 
Constructor Details- 
BytecodeVariable
 
- 
- 
Method Details- 
getIndexpublic int getIndex()- Returns:
- the stack index for this variable
 
- 
getName
- 
getType
- 
setType
- 
getPrevIndexpublic int getPrevIndex()
- 
isDynamicTypedpublic boolean isDynamicTyped()
- 
setDynamicTypedpublic void setDynamicTyped(boolean b) 
- 
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) 
- 
toString
 
-