public final class CompletionServiceImpl
extends BaseCompletionService
Constructor and Description |
---|
CompletionServiceImpl() |
public static CompletionServiceImpl getCompletionService()
public void setAdvertisementText(java.lang.String text)
protected CompletionResultSet createResultSet(CompletionParameters parameters, Consumer<? super CompletionResult> consumer, CompletionContributor contributor, PrefixMatcher matcher)
public CompletionProcess getCurrentCompletion()
public static CompletionProgressIndicator getCurrentCompletionProgressIndicator()
@SafeVarargs public static void assertPhase(java.lang.Class<? extends CompletionPhase>... possibilities)
@SafeVarargs public static boolean isPhase(java.lang.Class<? extends CompletionPhase>... possibilities)
public static void setCompletionPhase(CompletionPhase phase)
public static CompletionPhase getCompletionPhase()
protected CompletionSorterImpl addWeighersBefore(CompletionSorterImpl sorter)
protected CompletionSorterImpl processStatsWeigher(CompletionSorterImpl sorter, Weigher<java.lang.Object,java.lang.Object> weigher, CompletionLocation location)