Class DirectivesFrame

java.lang.Object
org.eolang.jeo.representation.directives.DirectivesFrame
All Implemented Interfaces:
Iterable<org.xembly.Directive>

public final class DirectivesFrame extends Object implements Iterable<org.xembly.Directive>
Frame directives.

All the directives of the frame are sorted according to the JVM specification: full_frame { u1 frame_type = FULL_FRAME; u2 offset_delta; u2 number_of_locals; verification_type_info locals[number_of_locals]; u2 number_of_stack_items; verification_type_info stack[number_of_stack_items]; }

Since:
0.3
  • Constructor Details

    • DirectivesFrame

      public DirectivesFrame(int index, Format format, int type, Object[] locals, Object... stack)
      Constructor.
      Parameters:
      index - Index of the bytecode instruction among other instructions.
      format - Format of the directives.
      type - The type of stack map frame.
      locals - The local variable types in this frame.
      stack - The operand stack types in this frame.
  • Method Details

    • iterator

      public Iterator<org.xembly.Directive> iterator()
      Specified by:
      iterator in interface Iterable<org.xembly.Directive>