Preview
Second Preview of ClassFile API (JEP 466).
Programs can only use LocalVariableInfo
when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
LocalVariableTableAttribute
.
Modifier and Type | Method and Description |
---|---|
public int | Returns: the length of the region of the code array in which this variable is in scope.Returns the length of the region of the code array in which this variable is in scope. |
public Utf8Entry | |
public int | Returns: the index into the local variable array of the current frame which holds this local variableReturns the index into the local variable array of the current frame which holds this local variable. |
public int | Returns: the index into the code array (inclusive) at which the scope of this variable beginsReturns the index into the code array (inclusive) at which the scope of this variable begins. |
public Utf8Entry | Returns: the field descriptor of the local variableReturns the field descriptor of the local variable. |
public default ClassDesc | Returns: the field descriptor of the local variableReturns the field descriptor of the local variable. |
length | back to summary |
---|---|
public int length() Returns the length of the region of the code array in which this variable is in scope.
|
name | back to summary |
---|---|
public Utf8Entry name() Returns the name of the local variable.
|
slot | back to summary |
---|---|
public int slot() Returns the index into the local variable array of the current frame which holds this local variable.
|
startPc | back to summary |
---|---|
public int startPc() Returns the index into the code array (inclusive) at which the scope of this variable begins.
|
type | back to summary |
---|---|
public Utf8Entry type() Returns the field descriptor of the local variable.
|
typeSymbol | back to summary |
---|---|
public default ClassDesc typeSymbol() Returns the field descriptor of the local variable.
|