Class VariableTable.Variable
java.lang.Object
com.offbynull.coroutines.instrumenter.asm.VariableTable.Variable
- Enclosing class:
VariableTable
Represents an entry within the local variable table of a method.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateVariable(org.objectweb.asm.Type type, int index, boolean used) -
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()Get the index of this entry within the local variable table.private VariableTableorg.objectweb.asm.TypegetType()Get the type of this local variable table entry.booleanisUsed()Returnstrueif this object hasn't been released.
-
Field Details
-
type
private org.objectweb.asm.Type type -
index
private int index -
used
private boolean used
-
-
Constructor Details
-
Variable
private Variable(org.objectweb.asm.Type type, int index, boolean used)
-
-
Method Details
-
getType
public org.objectweb.asm.Type getType()Get the type of this local variable table entry.- Returns:
- type of this entry
- Throws:
IllegalArgumentException- if thisVariableTable.Variablehas been released
-
getIndex
public int getIndex()Get the index of this entry within the local variable table.- Returns:
- index of this entry
- Throws:
IllegalArgumentException- if thisVariableTable.Variablehas been released
-
isUsed
public boolean isUsed()Returnstrueif this object hasn't been released.- Returns:
- index of this entry
- Throws:
IllegalArgumentException- if thisVariableTable.Variablehas been released- See Also:
-
getParent
-