Class VariableTable.Variable
- java.lang.Object
-
- com.offbynull.coroutines.instrumenter.asm.VariableTable.Variable
-
- Enclosing class:
- VariableTable
public final class VariableTable.Variable extends java.lang.ObjectRepresents an entry within the local variable table of a method.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateVariable(org.objectweb.asm.Type type, int index, boolean used)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIndex()Get the index of this entry within the local variable table.private VariableTablegetParent()org.objectweb.asm.TypegetType()Get the type of this local variable table entry.booleanisUsed()Returnstrueif this object hasn't been released.
-
-
-
Method Detail
-
getType
public org.objectweb.asm.Type getType()
Get the type of this local variable table entry.- Returns:
- type of this entry
- Throws:
java.lang.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:
java.lang.IllegalArgumentException- if thisVariableTable.Variablehas been released
-
isUsed
public boolean isUsed()
Returnstrueif this object hasn't been released.- Returns:
- index of this entry
- Throws:
java.lang.IllegalArgumentException- if thisVariableTable.Variablehas been released- See Also:
VariableTable.releaseExtra(com.offbynull.coroutines.instrumenter.asm.VariableTable.Variable)
-
getParent
private VariableTable getParent()
-
-