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