Package org.apache.calcite.linq4j.tree
Class NewExpression
java.lang.Object
org.apache.calcite.linq4j.tree.AbstractNode
org.apache.calcite.linq4j.tree.Expression
org.apache.calcite.linq4j.tree.NewExpression
- All Implemented Interfaces:
Node
Represents a constructor call.
If memberDeclarations
is not null (even if empty) represents
an anonymous class.
-
Field Summary
Modifier and TypeFieldDescriptionfinal List<Expression>
final @Nullable List<MemberDeclaration>
final Type
Fields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType
-
Constructor Summary
ConstructorDescriptionNewExpression
(Type type, List<Expression> arguments, @Nullable List<MemberDeclaration> memberDeclarations) -
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.Expression
canReduce
Methods inherited from class org.apache.calcite.linq4j.tree.AbstractNode
accept, evaluate, getNodeType, getType, toString
-
Field Details
-
type
-
arguments
-
memberDeclarations
-
-
Constructor Details
-
NewExpression
public NewExpression(Type type, List<Expression> arguments, @Nullable List<MemberDeclaration> memberDeclarations)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceNode
- Specified by:
accept
in classExpression
-
accept
-
equals
- Overrides:
equals
in classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractNode
-