Package hydra.ext.java.syntax
Class ModuleDeclaration
java.lang.Object
hydra.ext.java.syntax.ModuleDeclaration
- All Implemented Interfaces:
Serializable,Comparable<ModuleDeclaration>
public class ModuleDeclaration
extends Object
implements Serializable, Comparable<ModuleDeclaration>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<Annotation>static final Namefinal List<List<ModuleDirective>>static final Namefinal List<Identifier>static final Namefinal Booleanstatic final Namestatic final Name -
Constructor Summary
ConstructorsConstructorDescriptionModuleDeclaration(List<Annotation> annotations, Boolean open, List<Identifier> identifiers, List<List<ModuleDirective>> directives) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ModuleDeclaration other) booleaninthashCode()withAnnotations(List<Annotation> annotations) withDirectives(List<List<ModuleDirective>> directives) withIdentifiers(List<Identifier> identifiers)
-
Field Details
-
TYPE_
-
ANNOTATIONS
-
OPEN
-
IDENTIFIERS
-
DIRECTIVES
-
annotations
-
open
-
identifiers
-
directives
-
-
Constructor Details
-
ModuleDeclaration
public ModuleDeclaration(List<Annotation> annotations, Boolean open, List<Identifier> identifiers, List<List<ModuleDirective>> directives)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ModuleDeclaration>
-
withAnnotations
-
withOpen
-
withIdentifiers
-
withDirectives
-