- All Known Implementing Classes:
TargetInfoImpl.LocalVarTargetInfoImpl
- Enclosing interface:
TypeAnnotation
public static sealed interface TypeAnnotation.LocalVarTargetInfo
permits TargetInfoImpl.LocalVarTargetInfoImpl
Indicates a range of code array offsets within which a local variable
has a value, and the index into the local variable array of the current
frame at which that local variable can be found.
-
Method Summary
Modifier and TypeMethodDescriptionendLabel()The given local variable has a value at indices into the code array in the interval [start_pc, start_pc + length), that is, between start_pc inclusive and start_pc + length exclusive.intindex()The given local variable must be at index in the local variable array of the current frame.The given local variable has a value at indices into the code array in the interval [start_pc, start_pc + length), that is, between start_pc inclusive and start_pc + length exclusive.
-
Method Details
-
startLabel
Label startLabel()The given local variable has a value at indices into the code array in the interval [start_pc, start_pc + length), that is, between start_pc inclusive and start_pc + length exclusive.- Returns:
- the start of the bytecode section.
-
endLabel
Label endLabel()The given local variable has a value at indices into the code array in the interval [start_pc, start_pc + length), that is, between start_pc inclusive and start_pc + length exclusive.- Returns:
-
index
int index()The given local variable must be at index in the local variable array of the current frame. If the local variable at index is of type double or long, it occupies both index and index + 1.- Returns:
- index into the local variables
-
of
-