Class NoOpLanguageClientStub
java.lang.Object
smile.util.lsp.NoOpLanguageClientStub
- All Implemented Interfaces:
org.eclipse.lsp4j.services.LanguageClient
public class NoOpLanguageClientStub
extends Object
implements org.eclipse.lsp4j.services.LanguageClient
A no-op implementation of the LSP4J client interface.
Language servers send notifications back to the client (e.g.
window/logMessage, textDocument/publishDiagnostics).
We log them at DEBUG / INFO level and otherwise ignore them, since
this client is used for read-only queries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlogMessage(org.eclipse.lsp4j.MessageParams message) voidpublishDiagnostics(org.eclipse.lsp4j.PublishDiagnosticsParams diagnostics) voidshowMessage(org.eclipse.lsp4j.MessageParams messageParams) CompletableFuture<org.eclipse.lsp4j.MessageActionItem> showMessageRequest(org.eclipse.lsp4j.ShowMessageRequestParams requestParams) voidtelemetryEvent(Object object) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.lsp4j.services.LanguageClient
applyEdit, configuration, createProgress, logTrace, notifyProgress, refreshCodeLenses, refreshDiagnostics, refreshFoldingRanges, refreshInlayHints, refreshInlineValues, refreshSemanticTokens, refreshTextDocumentContent, registerCapability, showDocument, unregisterCapability, workspaceFolders
-
Constructor Details
-
NoOpLanguageClientStub
public NoOpLanguageClientStub()Constructor.
-
-
Method Details
-
telemetryEvent
- Specified by:
telemetryEventin interfaceorg.eclipse.lsp4j.services.LanguageClient
-
publishDiagnostics
public void publishDiagnostics(org.eclipse.lsp4j.PublishDiagnosticsParams diagnostics) - Specified by:
publishDiagnosticsin interfaceorg.eclipse.lsp4j.services.LanguageClient
-
showMessage
public void showMessage(org.eclipse.lsp4j.MessageParams messageParams) - Specified by:
showMessagein interfaceorg.eclipse.lsp4j.services.LanguageClient
-
showMessageRequest
public CompletableFuture<org.eclipse.lsp4j.MessageActionItem> showMessageRequest(org.eclipse.lsp4j.ShowMessageRequestParams requestParams) - Specified by:
showMessageRequestin interfaceorg.eclipse.lsp4j.services.LanguageClient
-
logMessage
public void logMessage(org.eclipse.lsp4j.MessageParams message) - Specified by:
logMessagein interfaceorg.eclipse.lsp4j.services.LanguageClient
-