Package hydra.ext.java.syntax
Class MethodHeader
java.lang.Object
hydra.ext.java.syntax.MethodHeader
- All Implemented Interfaces:
Serializable,Comparable<MethodHeader>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MethodDeclaratorstatic final Namefinal List<TypeParameter>static final Namefinal Resultstatic final Namestatic final Namestatic final Name -
Constructor Summary
ConstructorsConstructorDescriptionMethodHeader(List<TypeParameter> parameters, Result result, MethodDeclarator declarator, Maybe<Throws> throws_) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(MethodHeader other) booleaninthashCode()withDeclarator(MethodDeclarator declarator) withParameters(List<TypeParameter> parameters) withResult(Result result) withThrows(Maybe<Throws> throws_)
-
Field Details
-
TYPE_
-
PARAMETERS
-
RESULT
-
DECLARATOR
-
THROWS
-
parameters
-
result
-
declarator
-
throws_
-
-
Constructor Details
-
MethodHeader
public MethodHeader(List<TypeParameter> parameters, Result result, MethodDeclarator declarator, Maybe<Throws> throws_)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<MethodHeader>
-
withParameters
-
withResult
-
withDeclarator
-
withThrows
-