public final class MethodDef extends ValueObject implements Member
Modifier and Type | Field and Description |
---|---|
BlockStatement |
body |
Expression |
defaultValue |
List<TypeLiteral> |
exceptions |
List<Modifier> |
modifiers |
String |
name |
List<ParameterDef> |
parameters |
TypeLiteral |
returnType |
List<TypeParameterDef> |
typeParameters |
Constructor and Description |
---|
MethodDef(List<Modifier> modifiers,
List<TypeParameterDef> typeParameters,
TypeLiteral returnType,
String name,
List<ParameterDef> parameters,
List<TypeLiteral> exceptions,
Expression defaultValue,
BlockStatement body) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
equals, hashCode
public final List<TypeParameterDef> typeParameters
public final TypeLiteral returnType
public final String name
public final List<ParameterDef> parameters
public final List<TypeLiteral> exceptions
public final Expression defaultValue
public final BlockStatement body
public MethodDef(List<Modifier> modifiers, List<TypeParameterDef> typeParameters, TypeLiteral returnType, String name, List<ParameterDef> parameters, List<TypeLiteral> exceptions, Expression defaultValue, BlockStatement body)
public String toString()
toString
in class ValueObject
Copyright © 2013–2016 jparsec. All rights reserved.