Package hydra.java.syntax
Class ModuleDirective
- java.lang.Object
-
- hydra.java.syntax.ModuleDirective
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ModuleDirective>
- Direct Known Subclasses:
ModuleDirective.Exports,ModuleDirective.Opens,ModuleDirective.Provides,ModuleDirective.Requires,ModuleDirective.Uses
public abstract class ModuleDirective extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ModuleDirective>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModuleDirective.Exportsstatic classModuleDirective.Opensstatic interfaceModuleDirective.PartialVisitor<R>Partial visitor overModuleDirectivewith a defaultModuleDirective.PartialVisitor.otherwise(hydra.java.syntax.ModuleDirective)branch.static classModuleDirective.Providesstatic classModuleDirective.Requiresstatic classModuleDirective.Usesstatic interfaceModuleDirective.Visitor<R>Visitor overModuleDirective.
-
Field Summary
Fields Modifier and Type Field Description static NameEXPORTSName of thehydra.java.syntax.ModuleDirective.exportsfield.static NameOPENSName of thehydra.java.syntax.ModuleDirective.opensfield.static NamePROVIDESName of thehydra.java.syntax.ModuleDirective.providesfield.static NameREQUIRESName of thehydra.java.syntax.ModuleDirective.requiresfield.static NameTYPE_Name of thehydra.java.syntax.ModuleDirectivetype.static NameUSESName of thehydra.java.syntax.ModuleDirective.usesfield.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract <R> Raccept(ModuleDirective.Visitor<R> visitor)Dispatch tovisitor.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.java.syntax.ModuleDirectivetype.
-
REQUIRES
public static final Name REQUIRES
Name of thehydra.java.syntax.ModuleDirective.requiresfield.
-
EXPORTS
public static final Name EXPORTS
Name of thehydra.java.syntax.ModuleDirective.exportsfield.
-
OPENS
public static final Name OPENS
Name of thehydra.java.syntax.ModuleDirective.opensfield.
-
USES
public static final Name USES
Name of thehydra.java.syntax.ModuleDirective.usesfield.
-
PROVIDES
public static final Name PROVIDES
Name of thehydra.java.syntax.ModuleDirective.providesfield.
-
-
Method Detail
-
accept
public abstract <R> R accept(ModuleDirective.Visitor<R> visitor)
Dispatch tovisitor.
-
-