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.
Since:
0.1.0
  • Constructor Details

    • DirectivesMethodProperties

      public DirectivesMethodProperties()
      Constructor.
    • DirectivesMethodProperties

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

    • paramAnnotation

      public void paramAnnotation(int index, DirectivesAnnotation annotation)
      Set parameter annotation.
      Parameters:
      index - Parameter index.
      annotation - Annotation.
    • maxs

      public void maxs(int stack, int locals)
      Set max stack and locals.
      Parameters:
      stack - Max stack size.
      locals - Max locals size.
    • descr

      public String descr()
      Method descriptor.
      Returns:
      Descriptor.
    • iterator

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