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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.xembly.Directive>iterator()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
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.- Suppressed Checkstyle violations:
- ParameterNumberCheck (5 lines)
-
-