Preview
Second Preview of ClassFile API (JEP 466).
Programs can only use LocalVariableTypeTableAttribute
when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
LocalVariableTypeTable
attribute 4.7.14, which can appear
on a Code
attribute, and records debug information about local
variables.
Delivered as a java.lang.classfile.instruction.LocalVariable
when traversing the
elements of a java.lang.classfile.CodeModel
, according to the setting of the
java.lang.classfile.ClassFile.LineNumbersOption
option.
The attribute permits multiple instances in a given location.
The attribute was introduced in the Java SE Platform version 5.0.
Modifier and Type | Method and Description |
---|---|
public List | Returns: debug information for the local variables in this methodReturns debug information for the local variables in this method. |
public static LocalVariableTypeTableAttribute | Returns: aLocalVariableTypeTable attributethe local variable descriptions locals)Returns a |
localVariableTypes | back to summary |
---|---|
public List Returns debug information for the local variables in this method.
|
of | back to summary |
---|---|
public static LocalVariableTypeTableAttribute of(List<LocalVariableTypeInfo> locals) Returns a
|