public class CodeActionRequest extends Object implements ICodeActionRequest
| Constructor and Description |
|---|
CodeActionRequest(org.eclipse.lsp4j.Diagnostic diagnostic,
org.eclipse.lsp4j.Range range,
DOMDocument document,
IComponentProvider componentProvider,
SharedSettings sharedSettings) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getComponent(Class clazz)
Returns the component class instance from the given class and null otherwise.
|
org.eclipse.lsp4j.Diagnostic |
getDiagnostic()
Returns the diagnostic.
|
DOMDocument |
getDocument()
Returns the DOM document.
|
LineIndentInfo |
getLineIndentInfo() |
org.eclipse.lsp4j.Range |
getRange()
Returns the code action range.
|
SharedSettings |
getSharedSettings()
Returns the shared settings.
|
XMLGenerator |
getXMLGenerator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanSupportResolvegetDocument, getSharedSettingsgetComponentpublic CodeActionRequest(org.eclipse.lsp4j.Diagnostic diagnostic,
org.eclipse.lsp4j.Range range,
DOMDocument document,
IComponentProvider componentProvider,
SharedSettings sharedSettings)
public org.eclipse.lsp4j.Diagnostic getDiagnostic()
ICodeActionRequestgetDiagnostic in interface ICodeActionRequestpublic org.eclipse.lsp4j.Range getRange()
ICodeActionRequestgetRange in interface ICodeActionRequestpublic XMLGenerator getXMLGenerator() throws BadLocationException
getXMLGenerator in interface ICodeActionRequestBadLocationExceptionpublic LineIndentInfo getLineIndentInfo() throws BadLocationException
BadLocationExceptionpublic <T> T getComponent(Class clazz)
IComponentProvidergetComponent in interface IComponentProviderclazz - class of the component.public DOMDocument getDocument()
IBaseCodeActionRequestgetDocument in interface IBaseCodeActionRequestpublic SharedSettings getSharedSettings()
IBaseCodeActionRequestgetSharedSettings in interface IBaseCodeActionRequestCopyright © 2023. All rights reserved.