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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.objectweb.asm.Label
int
getIndex()
getName()
int
org.objectweb.asm.Label
getType()
boolean
boolean
isHolder()
void
setDynamicTyped
(boolean b) void
setEndLabel
(org.objectweb.asm.Label endLabel) void
setHolder
(boolean holder) void
setStartLabel
(org.objectweb.asm.Label startLabel) void
toString()
-
Field Details
-
THIS_VARIABLE
-
SUPER_VARIABLE
-
-
Constructor Details
-
BytecodeVariable
-
-
Method Details
-
getIndex
public int getIndex()- Returns:
- the stack index for this variable
-
getName
-
getType
-
setType
-
getPrevIndex
public int getPrevIndex() -
isDynamicTyped
public boolean isDynamicTyped() -
setDynamicTyped
public void setDynamicTyped(boolean b) -
isHolder
public boolean isHolder()- Returns:
- is this local variable shared in other scopes (and so must use a ValueHolder)
-
setHolder
public void setHolder(boolean holder) -
getStartLabel
public org.objectweb.asm.Label getStartLabel() -
setStartLabel
public void setStartLabel(org.objectweb.asm.Label startLabel) -
getEndLabel
public org.objectweb.asm.Label getEndLabel() -
setEndLabel
public void setEndLabel(org.objectweb.asm.Label endLabel) -
toString
-