public class LocalCompletionService extends java.lang.Object implements ServiceCompletion
| Constructor and Description |
|---|
LocalCompletionService(LocalDartServer server) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatchEvent(JsonObject root) |
void |
dispose() |
CompletionGetSuggestionsResult |
getSuggestions(java.lang.String file,
int offset) |
Registration |
results(java.util.function.Consumer<CompletionResultsNotification> consumer) |
public LocalCompletionService(LocalDartServer server)
public void dispose()
public void dispatchEvent(JsonObject root)
public CompletionGetSuggestionsResult getSuggestions(java.lang.String file, int offset)
getSuggestions in interface ServiceCompletionpublic Registration results(java.util.function.Consumer<CompletionResultsNotification> consumer)
results in interface ServiceCompletion