Class DirectivesMethodProperties

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

public final class DirectivesMethodProperties extends Object implements Iterable<org.xembly.Directive>
Method properties as Xembly directives. All the directives are sorted according to JVM method specification: method_info { u2 access_flags; {@link DirectivesMethodProperties} u2 name_index; {@link DirectivesMethodProperties} u2 descriptor_index; {@link DirectivesMethodProperties} u2 attributes_count; {@link DirectivesMethod} attribute_info attributes[attributes_count]; {@link DirectivesMethod} }
Since:
0.1
  • Constructor Details

    • DirectivesMethodProperties

      public DirectivesMethodProperties()
      Constructor.
    • DirectivesMethodProperties

      public DirectivesMethodProperties(String name)
      Constructor.
      Parameters:
      name - Method name.
    • DirectivesMethodProperties

      public DirectivesMethodProperties(int access, String name, String descriptor, String signature, String... exceptions)
      Constructor.
      Parameters:
      access - Access modifiers.
      name - Method name.
      descriptor - Method descriptor.
      signature - Method signature.
      exceptions - Method exceptions.
    • DirectivesMethodProperties

      public DirectivesMethodProperties(int access, String name, String descriptor, String signature, String[] exceptions, DirectivesMaxs max, DirectivesMethodParams params)
      Constructor.
      Parameters:
      access - Access modifiers.
      name - Method name.
      descriptor - Method descriptor.
      signature - Method signature.
      exceptions - Method exceptions.
      max - Max stack and locals.
      params - Method parameters.
    • DirectivesMethodProperties

      public DirectivesMethodProperties(int access, String name, String descriptor, String signature, String[] exceptions, DirectivesMaxs max, DirectivesMethodParams params, Format format)
      Constructor.
      Parameters:
      access - Access modifiers.
      name - Method name.
      descriptor - Method descriptor.
      signature - Method signature.
      exceptions - Method exceptions.
      max - Max stack and locals.
      params - Method parameters.
      format - Format of the directives.
  • Method Details

    • iterator

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