protected static class AbstractContentAssistVisitor.FollowingClausesVisitor extends AbstractTraverseParentVisitor
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
afterIdentifier
The JPQL identifier of the clause used to determine if there is any clause defined after it.
|
protected java.lang.String |
beforeIdentifier
The JPQL identifier of the clause used to determine if there is any clause defined before it.
|
protected boolean |
hasFollowUpClauses
Determines whether there is at least one clause defined after the clause defined by
afterIdentifier . |
Modifier | Constructor and Description |
---|---|
protected |
FollowingClausesVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of the internal data.
|
protected boolean |
hasFromClause(AbstractSelectStatement expression)
Determines if the
FROM clause has been defined or not. |
void |
visit(SelectStatement expression)
Visits the
SelectStatement expression. |
void |
visit(SimpleFromClause expression)
Visits the
SimpleFromClause expression. |
void |
visit(SimpleSelectStatement expression)
Visits the
SimpleSelectStatement expression. |
visit, visit
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
protected java.lang.String afterIdentifier
protected java.lang.String beforeIdentifier
protected boolean hasFollowUpClauses
afterIdentifier
.public void dispose()
protected boolean hasFromClause(AbstractSelectStatement expression)
FROM
clause has been defined or not. The end limit
of the check is also taken into consideration.expression
- The SELECT
expression being scanned for what has been
defined between the range of clausestrue
if the FROM
clause is defined;
false
otherwisepublic void visit(SelectStatement expression)
SelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleFromClause expression)
SimpleFromClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleSelectStatement expression)
SimpleSelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visit