Package hydra.java.syntax
Class MethodName
- java.lang.Object
-
- hydra.java.syntax.MethodName
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MethodName>
public class MethodName extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<MethodName>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodName(Identifier value)Constructs an immutableMethodName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(MethodName other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.java.syntax.MethodNametype.
-
VALUE
public static final Name VALUE
Name of thehydra.java.syntax.MethodName.valuefield.
-
value
public final Identifier value
-
-
Constructor Detail
-
MethodName
public MethodName(Identifier value)
Constructs an immutableMethodName.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(MethodName other)
- Specified by:
compareToin interfacejava.lang.Comparable<MethodName>
-
-