public class ResolveCodeActionRequest extends Object implements ICodeActionResolverRequest
Constructor and Description |
---|
ResolveCodeActionRequest(org.eclipse.lsp4j.CodeAction unresolved,
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.
|
String |
getDataProperty(String property)
Returns the data property value of the given
fieldName and null
otherwise. |
DOMDocument |
getDocument()
Returns the DOM document.
|
String |
getParticipantId()
Returns the participant ID
ICodeActionResolvesParticipant which must
resolve the unresolved code action. |
SharedSettings |
getSharedSettings()
Returns the shared settings.
|
org.eclipse.lsp4j.CodeAction |
getUnresolved()
Returns the unresolved code action.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocument, getSharedSettings
getComponent
public ResolveCodeActionRequest(org.eclipse.lsp4j.CodeAction unresolved, DOMDocument document, IComponentProvider componentProvider, SharedSettings sharedSettings)
public org.eclipse.lsp4j.CodeAction getUnresolved()
ICodeActionResolverRequest
getUnresolved
in interface ICodeActionResolverRequest
public String getParticipantId()
ICodeActionResolverRequest
ICodeActionResolvesParticipant
which must
resolve the unresolved code action.getParticipantId
in interface ICodeActionResolverRequest
ICodeActionResolvesParticipant
which must
resolve the unresolved code action.public String getDataProperty(String property)
ICodeActionResolverRequest
fieldName
and null
otherwise.getDataProperty
in interface ICodeActionResolverRequest
property
- the field name.fieldName
and null
otherwise.public <T> T getComponent(Class clazz)
IComponentProvider
getComponent
in interface IComponentProvider
clazz
- class of the component.public DOMDocument getDocument()
IBaseCodeActionRequest
getDocument
in interface IBaseCodeActionRequest
public SharedSettings getSharedSettings()
IBaseCodeActionRequest
getSharedSettings
in interface IBaseCodeActionRequest
Copyright © 2022. All rights reserved.