Class DirectivesClass

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

public final class DirectivesClass extends Object implements Iterable<org.xembly.Directive>
Directives for generating EO class objects.

This class generates Xembly directives to create EO object representations of Java classes, including their properties, fields, methods, annotations, and attributes.

Since:
0.1.0
  • Constructor Details

    • DirectivesClass

      public DirectivesClass(ClassName name)
      Constructor.
      Parameters:
      name - The class name
    • DirectivesClass

      public DirectivesClass(String classname, DirectivesClassProperties properties)
      Constructor.
      Parameters:
      classname - The class name
      properties - The class properties
    • DirectivesClass

      public DirectivesClass(ClassName name, DirectivesMethod method)
      Constructor.
      Parameters:
      name - The class name
      method - The method to include
    • DirectivesClass

      public DirectivesClass(Format format, ClassName name, DirectivesClassProperties properties, List<DirectivesField> fields, List<DirectivesMethod> methods, DirectivesAnnotations annotations, DirectivesAttributes attributes)
      Constructor.
      Parameters:
      format - The format of the directives
      name - The class name
      properties - The class properties
      fields - The class fields
      methods - The class methods
      annotations - The annotations
      attributes - The attributes
  • Method Details

    • iterator

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