All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods
Modifier and Type |
Method and Description |
protected abstract PrefixMatcher |
createMatcher(java.lang.String prefix,
boolean typoTolerant) |
protected abstract CompletionResultSet |
createResultSet(CompletionParameters parameters,
Consumer<? super CompletionResult> consumer,
CompletionContributor contributor,
PrefixMatcher matcher) |
abstract CompletionSorter |
defaultSorter(CompletionParameters parameters,
PrefixMatcher matcher) |
abstract CompletionSorter |
emptySorter() |
static CompletionService |
getCompletionService() |
abstract CompletionProcess |
getCurrentCompletion() |
static PrefixMatcher |
getItemMatcher(LookupElement element,
WeighingContext context) |
void |
getVariantsFromContributors(CompletionParameters parameters,
CompletionContributor from,
Consumer<? super CompletionResult> consumer)
Run all contributors until any of them returns false or the list is exhausted.
|
protected void |
getVariantsFromContributors(CompletionParameters parameters,
CompletionContributor from,
PrefixMatcher matcher,
Consumer<? super CompletionResult> consumer) |
protected void |
getVariantsFromContributors(CompletionParameters parameters,
CompletionContributor from,
PrefixMatcher matcher,
Consumer<? super CompletionResult> consumer,
CompletionSorter customSorter) |
static boolean |
isStartMatch(LookupElement element,
WeighingContext context) |
void |
performCompletion(CompletionParameters parameters,
Consumer<? super CompletionResult> consumer)
The main method that is invoked to collect all the completion variants
|
abstract void |
setAdvertisementText(java.lang.String text)
|
protected abstract java.lang.String |
suggestPrefix(CompletionParameters parameters) |