TypeAnnotationpublic static sealed interface TypeAnnotation.LocalVarTargetInfo
| Modifier and Type | Method | Description |
|---|---|---|
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. |
int |
index() |
The given local variable must be at index in the local variable array of the current frame. |
static TypeAnnotation.LocalVarTargetInfo |
of |
Returns local variable target info. |
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. |
Label startLabel()
Label endLabel()
int index()
static TypeAnnotation.LocalVarTargetInfo of(Label startLabel, Label endLabel, int index)
startLabel - the code label indicating start of an interval where variable has valueendLabel - the code label indicating start of an interval where variable has valueindex - index into the local variables
© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/classfile/TypeAnnotation.LocalVarTargetInfo.html