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
ConstructorsModifierConstructorDescriptionprivate
Variable
(org.objectweb.asm.Type type, int index, boolean used) -
Method Summary
Modifier and TypeMethodDescriptionint
getIndex()
Get the index of this entry within the local variable table.private VariableTable
org.objectweb.asm.Type
getType()
Get the type of this local variable table entry.boolean
isUsed()
Returnstrue
if 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.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:
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:
IllegalArgumentException
- if thisVariableTable.Variable
has been released- See Also:
-
getParent
-