NamedExpressionAnalyzer extends
    AbstractNodeVisitor<NamedExpression, AnalysisContext> { public NamedExpression analyze(UnresolvedExpression expression, AnalysisContext analysisContext) { return expression.accept(this, analysisContext); }  NamedExpression analyze(UnresolvedExpression expression,
                                       AnalysisContext analysisContext); @Override NamedExpression visitAlias(Alias node, AnalysisContext context);  }
@Test void visit_named_seleteitem() { Alias alias = AstDSL.alias("integer_value", AstDSL.qualifiedName("integer_value")); NamedExpressionAnalyzer analyzer = new NamedExpressionAnalyzer(expressionAnalyzer); NamedExpression analyze = analyzer.analyze(alias, analysisContext); assertEquals("integer_value", analyze.getName()); }