public class V2CPlugin extends AnalysisPlugin
messages| Constructor and Description |
|---|
V2CPlugin()
A plugin must provide a default constructor, as here or a static "factory" method that takes
a single Dialect parameter.
|
| Modifier and Type | Method and Description |
|---|---|
RPCMessageList |
analyse(RPCRequest request)
The analyse method is called when the LSP client sends a request that has a name
recognised by the supportsMethod method above.
|
String |
getName()
This is the registered name in the plugin registry.
|
void |
init()
This method is called when the plugin is registered.
|
boolean |
supportsMethod(String method)
A plugin can support a number of LSP methods, but here we match just one.
|
analyse, applyCodeLenses, errorResult, getCodeLenses, getCommand, getCommandHelp, getExperimentalOptionspublic V2CPlugin()
public String getName()
getName in class AnalysisPluginpublic void init()
init in class AnalysisPluginpublic boolean supportsMethod(String method)
supportsMethod in class AnalysisPluginpublic RPCMessageList analyse(RPCRequest request)
analyse in class AnalysisPluginCopyright © 2022. All rights reserved.