public class DefaultJPQLQueryHelper extends AbstractJPQLQueryHelper
AbstractJPQLQueryHelper.getResultType()
;AbstractJPQLQueryHelper.getParameterType(String)
.AbstractJPQLQueryHelper.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.
Constructor and Description |
---|
DefaultJPQLQueryHelper(JPQLGrammar jpqlGrammar)
Creates a new
DefaultJPQLQueryHelper . |
DefaultJPQLQueryHelper(JPQLQueryContext queryContext)
Creates a new
JPQLQueryHelper . |
Modifier and Type | Method and Description |
---|---|
BasicRefactoringTool |
buildBasicRefactoringTool()
Creates the concrete instance of the tool that can refactor the content of a JPQL query.
|
RefactoringTool |
buildRefactoringTool()
Creates the concrete instance of the tool that can refactor the content of a JPQL query.
|
buildContentAssistProposals, buildContentAssistProposals, dispose, getGrammar, getJPQLExpression, getParameterType, getParsedJPQLQuery, getProvider, getQuery, getQueryContext, getResultType, getType, getTypeHelper, getTypeRepository, setJPQLExpression, setQuery, validate, validate, validateGrammar, validateGrammar, validateSemantic, validateSemantic
public DefaultJPQLQueryHelper(JPQLGrammar jpqlGrammar)
DefaultJPQLQueryHelper
.jpqlGrammar
- The JPQLGrammar
that will determine how to parse JPQL queriespublic DefaultJPQLQueryHelper(JPQLQueryContext queryContext)
JPQLQueryHelper
.queryContext
- The context used to query information about the JPQL querypublic BasicRefactoringTool buildBasicRefactoringTool()
buildBasicRefactoringTool
in class AbstractJPQLQueryHelper
RefactoringTool
AbstractJPQLQueryHelper.buildRefactoringTool()
public RefactoringTool buildRefactoringTool()
StateObject
and simply
outputs the result of the refactoring operations, i.e. the updated JPQL query).buildRefactoringTool
in class AbstractJPQLQueryHelper
RefactoringTool
AbstractJPQLQueryHelper.buildBasicRefactoringTool()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference