public static class JavaNoVariantsDelegator.ResultTracker extends java.lang.Object implements Consumer<CompletionResult>
| Modifier and Type | Field and Description |
|---|---|
BetterPrefixMatcher |
betterMatcher |
boolean |
containsOnlyPackages |
JavaCompletionSession |
session |
EMPTY_CONSUMER| Constructor and Description |
|---|
ResultTracker(CompletionResultSet result) |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(CompletionResult plainResult) |
public final JavaCompletionSession session
public boolean containsOnlyPackages
public BetterPrefixMatcher betterMatcher
public ResultTracker(CompletionResultSet result)
public void consume(CompletionResult plainResult)
consume in interface Consumer<CompletionResult>plainResult - consequently takes value of each element of the set this processor is passed to for processing.
t is supposed to be a not-null value. If you need to pass nulls to the consumer use NullableConsumer instead