Package org.apache.calcite.linq4j.tree
Class ConstructorDeclaration
- java.lang.Object
-
- org.apache.calcite.linq4j.tree.MemberDeclaration
-
- org.apache.calcite.linq4j.tree.ConstructorDeclaration
-
- All Implemented Interfaces:
Node
public class ConstructorDeclaration extends MemberDeclaration
Declaration of a constructor.
-
-
Field Summary
Fields Modifier and Type Field Description BlockStatementbodyprivate inthashCache the hash code for the expressionintmodifierList<ParameterExpression>parametersTyperesultType
-
Constructor Summary
Constructors Constructor Description ConstructorDeclaration(int modifier, Type declaredAgainst, 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
-
resultType
public final Type resultType
-
parameters
public final List<ParameterExpression> parameters
-
body
public final BlockStatement body
-
hash
private int hash
Cache the hash code for the expression
-
-
Constructor Detail
-
ConstructorDeclaration
public ConstructorDeclaration(int modifier, Type declaredAgainst, 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)
-
-