Class Java.ModuleDeclaration

java.lang.Object
org.codehaus.janino.Java.Located
org.codehaus.janino.Java.ModuleDeclaration
All Implemented Interfaces:
Java.Locatable
Enclosing class:
Java

public static final class Java.ModuleDeclaration extends Java.Located
Representation of a "module declaration", as described in JLS9 7.7.
  • Field Details

    • modifiers

      public final Java.Modifier[] modifiers
      The modifiers of the module declaration; module declarations must have only annotations, no access modifiers.
    • isOpen

      public final boolean isOpen
      Whether this module is declared with the open keyword; see JLS9 7.7.
    • moduleName

      public final String[] moduleName
      The name of the declared module, see JLS9 7.7.
    • moduleDirectives

      public final Java.ModuleDirective[] moduleDirectives
      The directives declared in this module, see JLS9 7.7.
  • Constructor Details