Next: , Previous: Code Attribute, Up: Methods Data Structure


3.3.2 LocalVariableTable Attribute

The LocalVariableTable is an optional attribute of a method's Code attribute.

It may be used by debuggers to determine the value of a given local variable during the execution of a method. There may be more than one LocalVariableTable attribute in the Code attribute, but each local variable can be mentioned at most once. The order of LocalVariableTable attributes is unspecified.

The structure of each entry in the local variable table is as follows:

The precise description of this attribute is given in Section 4.7.9 of The Java Virtual Machine Specification [Lindholm-Yellin].