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
FieldsModifier and TypeFieldDescriptionfinal List<Expression>final @Nullable List<MemberDeclaration>final TypeFields inherited from class org.apache.calcite.linq4j.tree.AbstractNode
nodeType -
Constructor Summary
ConstructorsConstructorDescriptionNewExpression(Type type, List<Expression> arguments, @Nullable List<MemberDeclaration> memberDeclarations) -
Method Summary
Methods inherited from class org.apache.calcite.linq4j.tree.Expression
canReduceMethods 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:
acceptin interfaceNode- Specified by:
acceptin classExpression
-
accept
-
equals
- Overrides:
equalsin classAbstractNode
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractNode
-