Class DirectivesLocalVariables
java.lang.Object
org.eolang.jeo.representation.directives.DirectivesLocalVariables
- All Implemented Interfaces:
Iterable<org.xembly.Directive>
public final class DirectivesLocalVariables
extends Object
implements Iterable<org.xembly.Directive>
Directives for local variables in a method.
All local variable directives are sorted according to the JVM specification:
LocalVariableTable_attribute {
u2 attribute_name_index;
u4 attribute_length;
u2 local_variable_table_length;
{ u2 start_pc; {@link #start}
u2 length; {@link #start} and {@link #end}
u2 name_index; {@link #name}
u2 descriptor_index; {@link #descriptor}
u2 index; {@link #index}
} local_variable_table[local_variable_table_length];
}- Since:
- 0.14.0
-
Constructor Details
-
DirectivesLocalVariables
public DirectivesLocalVariables(int oindex, Format format, int index, String name, String descriptor, String signature, Iterable<org.xembly.Directive> start, Iterable<org.xembly.Directive> end) Constructor.- Parameters:
oindex- Ordered index of the local variable.format- Directives format.index- Index of the local variable in the local variable array.name- Name of the local variable.descriptor- Descriptor of the local variable.signature- Signature of the local variable.start- Start directives for the local variable, e.g. labels.end- End directives for the local variable, e.g. labels.
-
-
Method Details