Package hydra.ext.java.syntax
Class ModuleName
- java.lang.Object
-
- hydra.ext.java.syntax.ModuleName
-
- All Implemented Interfaces:
java.io.Serializable
public class ModuleName extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static Name
FIELD_NAME_IDENTIFIER
static Name
FIELD_NAME_NAME
Identifier
identifier
Opt<ModuleName>
name
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description ModuleName(Identifier identifier, Opt<ModuleName> name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
ModuleName
withIdentifier(Identifier identifier)
ModuleName
withName(Opt<ModuleName> name)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_IDENTIFIER
public static final Name FIELD_NAME_IDENTIFIER
-
FIELD_NAME_NAME
public static final Name FIELD_NAME_NAME
-
identifier
public final Identifier identifier
-
name
public final Opt<ModuleName> name
-
-
Constructor Detail
-
ModuleName
public ModuleName(Identifier identifier, Opt<ModuleName> name)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withIdentifier
public ModuleName withIdentifier(Identifier identifier)
-
withName
public ModuleName withName(Opt<ModuleName> name)
-
-