protected static interface AbstractGrammarValidator.AbstractEncapsulatedExpressionHelper<T extends AbstractEncapsulatedExpression>
AbstractEncapsulatedExpression
.Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
arguments(T expression)
Returns the arguments that can help to format the localized problem.
|
boolean |
hasLeftParenthesis(T expression)
Determines whether the given
AbstractEncapsulatedExpression has the left parenthesis. |
boolean |
hasRightParenthesis(T expression)
Determines whether the given
AbstractEncapsulatedExpression has the right parenthesis. |
java.lang.String |
identifier(T expression)
Returns the JPQL identifier of the given
AbstractEncapsulatedExpression . |
java.lang.String |
leftParenthesisMissingKey(T expression)
Returns the message key for the problem describing that the left parenthesis is missing.
|
java.lang.String |
rightParenthesisMissingKey(T expression)
Returns the message key for the problem describing that the right parenthesis is missing.
|
java.lang.String[] arguments(T expression)
expression
- The AbstractEncapsulatedExpression
being validatedboolean hasLeftParenthesis(T expression)
AbstractEncapsulatedExpression
has the left parenthesis.expression
- The AbstractEncapsulatedExpression
being validatedtrue
if the left parenthesis was parsedboolean hasRightParenthesis(T expression)
AbstractEncapsulatedExpression
has the right parenthesis.expression
- The AbstractEncapsulatedExpression
being validatedtrue
if the right parenthesis was parsedjava.lang.String identifier(T expression)
AbstractEncapsulatedExpression
.expression
- The AbstractEncapsulatedExpression
being validatedAbstractEncapsulatedExpression
java.lang.String leftParenthesisMissingKey(T expression)
expression
- The AbstractEncapsulatedExpression
being validatedjava.lang.String rightParenthesisMissingKey(T expression)
expression
- The AbstractEncapsulatedExpression
being validated