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 SummaryFieldsModifier and TypeFieldDescriptionfinal List<Expression>final @Nullable List<MemberDeclaration>final TypeFields inherited from class org.apache.calcite.linq4j.tree.AbstractNodenodeType
- 
Constructor SummaryConstructorsConstructorDescriptionNewExpression(Type type, List<Expression> arguments, @Nullable List<MemberDeclaration> memberDeclarations) 
- 
Method SummaryMethods inherited from class org.apache.calcite.linq4j.tree.ExpressioncanReduceMethods inherited from class org.apache.calcite.linq4j.tree.AbstractNodeaccept, evaluate, getNodeType, getType, toString
- 
Field Details- 
type
- 
arguments
- 
memberDeclarations
 
- 
- 
Constructor Details- 
NewExpressionpublic NewExpression(Type type, List<Expression> arguments, @Nullable List<MemberDeclaration> memberDeclarations) 
 
- 
- 
Method Details- 
accept- Specified by:
- acceptin interface- Node
- Specified by:
- acceptin class- Expression
 
- 
accept
- 
equals- Overrides:
- equalsin class- AbstractNode
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractNode
 
 
-