public static final class Java.ModuleDeclaration extends Java.Located
| Modifier and Type | Field and Description |
|---|---|
boolean |
isOpen
Whether this module is declared with the
open keyword; see JLS9 7.7. |
Java.Modifier[] |
modifiers
The modifiers of the module declaration; module declarations must have only annotations, no access
modifiers.
|
Java.ModuleDirective[] |
moduleDirectives
The directives declared in this module, see JLS9 7.7.
|
String[] |
moduleName
The name of the declared module, see JLS9 7.7.
|
NOWHERE| Constructor and Description |
|---|
ModuleDeclaration(Location location,
Java.Modifier[] modifiers,
boolean isOpen,
String[] moduleName,
Java.ModuleDirective[] moduleDirectives) |
getLocation, throwCompileExceptionpublic final Java.Modifier[] modifiers
public final boolean isOpen
open keyword; see JLS9 7.7.public final String[] moduleName
public final Java.ModuleDirective[] moduleDirectives
public ModuleDeclaration(Location location, Java.Modifier[] modifiers, boolean isOpen, String[] moduleName, Java.ModuleDirective[] moduleDirectives)
Copyright © 2022. All rights reserved.