Package org.apache.calcite.linq4j.tree
Class MethodDeclaration
- java.lang.Object
-
- org.apache.calcite.linq4j.tree.MemberDeclaration
-
- org.apache.calcite.linq4j.tree.MethodDeclaration
-
- All Implemented Interfaces:
Node
public class MethodDeclaration extends MemberDeclaration
Declaration of a method.
-
-
Field Summary
Fields Modifier and Type Field Description BlockStatementbodyintmodifierStringnameList<ParameterExpression>parametersTyperesultType
-
Constructor Summary
Constructors Constructor Description MethodDeclaration(int modifier, String name, Type resultType, List<ParameterExpression> parameters, BlockStatement body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ExpressionWriter writer)MemberDeclarationaccept(Shuttle shuttle)<R> Raccept(Visitor<R> visitor)booleanequals(Object o)inthashCode()
-
-
-
Field Detail
-
modifier
public final int modifier
-
name
public final String name
-
resultType
public final Type resultType
-
parameters
public final List<ParameterExpression> parameters
-
body
public final BlockStatement body
-
-
Constructor Detail
-
MethodDeclaration
public MethodDeclaration(int modifier, String name, Type resultType, List<ParameterExpression> parameters, BlockStatement body)
-
-
Method Detail
-
accept
public MemberDeclaration accept(Shuttle shuttle)
- Specified by:
acceptin interfaceNode- Specified by:
acceptin classMemberDeclaration
-
accept
public <R> R accept(Visitor<R> visitor)
-
accept
public void accept(ExpressionWriter writer)
-
-