Class MethodDef
java.lang.Object
org.jparsec.examples.common.ValueObject
org.jparsec.examples.java.ast.declaration.MethodDef
- All Implemented Interfaces:
Member
Represents a method definition.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BlockStatement
final Expression
final List
<TypeLiteral> final String
final List
<ParameterDef> final TypeLiteral
final List
<TypeParameterDef> -
Constructor Summary
ConstructorsConstructorDescriptionMethodDef
(List<Modifier> modifiers, List<TypeParameterDef> typeParameters, TypeLiteral returnType, String name, List<ParameterDef> parameters, List<TypeLiteral> exceptions, Expression defaultValue, BlockStatement body) -
Method Summary
Methods inherited from class org.jparsec.examples.common.ValueObject
equals, hashCode
-
Field Details
-
modifiers
-
typeParameters
-
returnType
-
name
-
parameters
-
exceptions
-
defaultValue
-
body
-
-
Constructor Details
-
MethodDef
public MethodDef(List<Modifier> modifiers, List<TypeParameterDef> typeParameters, TypeLiteral returnType, String name, List<ParameterDef> parameters, List<TypeLiteral> exceptions, Expression defaultValue, BlockStatement body)
-
-
Method Details
-
toString
- Overrides:
toString
in classValueObject
-