Package hydra.ext.csharp.syntax
Class InterfaceEventDeclaration
- java.lang.Object
-
- hydra.ext.csharp.syntax.InterfaceEventDeclaration
-
- All Implemented Interfaces:
java.io.Serializable
public class InterfaceEventDeclaration extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Opt<Attributes>
attributes
static Name
FIELD_NAME_ATTRIBUTES
static Name
FIELD_NAME_NAME
static Name
FIELD_NAME_NEW
static Name
FIELD_NAME_TYPE
Identifier
name
java.lang.Boolean
new_
Type
type
static Name
TYPE_NAME
-
Constructor Summary
Constructors Constructor Description InterfaceEventDeclaration(Opt<Attributes> attributes, java.lang.Boolean new_, Type type, Identifier name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
InterfaceEventDeclaration
withAttributes(Opt<Attributes> attributes)
InterfaceEventDeclaration
withName(Identifier name)
InterfaceEventDeclaration
withNew(java.lang.Boolean new_)
InterfaceEventDeclaration
withType(Type type)
-
-
-
Field Detail
-
TYPE_NAME
public static final Name TYPE_NAME
-
FIELD_NAME_ATTRIBUTES
public static final Name FIELD_NAME_ATTRIBUTES
-
FIELD_NAME_NEW
public static final Name FIELD_NAME_NEW
-
FIELD_NAME_TYPE
public static final Name FIELD_NAME_TYPE
-
FIELD_NAME_NAME
public static final Name FIELD_NAME_NAME
-
attributes
public final Opt<Attributes> attributes
-
new_
public final java.lang.Boolean new_
-
type
public final Type type
-
name
public final Identifier name
-
-
Constructor Detail
-
InterfaceEventDeclaration
public InterfaceEventDeclaration(Opt<Attributes> attributes, java.lang.Boolean new_, Type type, Identifier 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
-
withAttributes
public InterfaceEventDeclaration withAttributes(Opt<Attributes> attributes)
-
withNew
public InterfaceEventDeclaration withNew(java.lang.Boolean new_)
-
withType
public InterfaceEventDeclaration withType(Type type)
-
withName
public InterfaceEventDeclaration withName(Identifier name)
-
-