getResultType();getParameterType(String).buildContentAssistProposals(int).buildBasicRefactoringTool() provides support for generating the delta of the
refactoring operation through a collection of TextEdit objects.buildRefactoringTool() provides support for refactoring the JPQL query through
the editable StateObject and
once all refactoring operations have been executed, the IJPQLQueryFormatter will generate
a new string representation of the JPQL query.Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
| Access | Constructor and Description |
|---|---|
| public | EclipseLinkJPQLQueryHelper(JPQLGrammar
The jpqlGrammar)JPQLGrammar that will determine how to parse JPQL queriesCreates a new |
| public | EclipseLinkJPQLQueryHelper(JPQLQueryContext
The context used to query information about the JPQL query queryContext)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public BasicRefactoringTool | buildBasicRefactoringTool()
Implements abstract org. |
| protected AbstractContentAssistVisitor | buildContentAssistVisitor(JPQLQueryContext
The context used to query information about the JPQL query queryContext)Implements abstract org. |
| protected EclipseLinkSemanticValidatorExtension | Returns: Either a new concrete instance ofEclipseLinkSemanticValidatorExtension or
EclipseLinkSemanticValidatorExtension#NULL_EXTENSION if none is requiredCreates a new |
| protected EclipseLinkGrammarValidator | buildGrammarValidator(JPQLGrammar
The context used to query information about the JPQL query jpqlGrammar)Implements abstract org. |
| protected JPQLQueryContext | buildJPQLQueryContext(JPQLGrammar
The JPQL grammar that is required for dictating how the JPQL query will be
parsed. It is also used by validation and by the content assist jpqlGrammar)Implements abstract org. |
| protected IJPQLQueryBuilder | Returns: A new concrete instance ofIJPQLQueryBuilderCreates the right |
| public RefactoringTool | buildRefactoringTool()
Implements abstract org. |
| protected AbstractEclipseLinkSemanticValidator | buildSemanticValidator(JPQLQueryContext
The context used to query information about the JPQL query queryContext)Implements abstract org. |
| EclipseLinkJPQLQueryHelper | back to summary |
|---|---|
| public EclipseLinkJPQLQueryHelper(JPQLGrammar jpqlGrammar) Creates a new
| |
| EclipseLinkJPQLQueryHelper | back to summary |
|---|---|
| public EclipseLinkJPQLQueryHelper(JPQLQueryContext queryContext) Creates a new
| |
| buildBasicRefactoringTool | back to summary |
|---|---|
| public BasicRefactoringTool buildBasicRefactoringTool() Implements abstract org. Doc from org. Creates the concrete instance of the tool that can refactor the content of a JPQL query. This version simply provides the delta of the refactoring operations.
| |
| buildContentAssistVisitor | back to summary |
|---|---|
| protected AbstractContentAssistVisitor buildContentAssistVisitor(JPQLQueryContext queryContext) Implements abstract org. Doc from org. Creates the concrete instance of the content assist visitor that will give the possible choices based on the position of the cursor within the JPQL query.
| |
| buildEclipseLinkSemanticValidatorExtension | back to summary |
|---|---|
| protected EclipseLinkSemanticValidatorExtension buildEclipseLinkSemanticValidatorExtension() Creates a new
| |
| buildGrammarValidator | back to summary |
|---|---|
| protected EclipseLinkGrammarValidator buildGrammarValidator(JPQLGrammar jpqlGrammar) Implements abstract org. Doc from org. Creates the concrete instance of the validator that will grammatically validate the JPQL query.
| |
| buildJPQLQueryContext | back to summary |
|---|---|
| protected JPQLQueryContext buildJPQLQueryContext(JPQLGrammar jpqlGrammar) Implements abstract org. Doc from org. Creates a context that will be used to store and retrieve information about the JPQL query.
| |
| buildQueryBuilder | back to summary |
|---|---|
| protected IJPQLQueryBuilder buildQueryBuilder() Creates the right
| |
| buildRefactoringTool | back to summary |
|---|---|
| public RefactoringTool buildRefactoringTool() Implements abstract org. Doc from org. Creates the concrete instance of the tool that can refactor the content of a JPQL query. This
version provides a way to manipulate the editable version of the JPQL query (
| |
| buildSemanticValidator | back to summary |
|---|---|
| protected AbstractEclipseLinkSemanticValidator buildSemanticValidator(JPQLQueryContext queryContext) Implements abstract org. Doc from org. Creates the concrete instance of the validator that will semantically validate the JPQL query.
| |