Interface ICodeActionResolverRequest
- All Superinterfaces:
IBaseCodeActionRequest,IComponentProvider
- All Known Implementing Classes:
ResolveCodeActionRequest
The code action resolver request API.
- Author:
- Angelo ZERR
-
Method Summary
Modifier and TypeMethodDescriptiongetDataProperty(String fieldName) Returns the data property value of the givenfieldNameand null otherwise.Returns the participant IDICodeActionResolvesParticipantwhich must resolve the unresolved code action.org.eclipse.lsp4j.CodeActionReturns the unresolved code action.getXMLGenerator(org.eclipse.lsp4j.Range range) Returns the XML generator and null otherwise.Methods inherited from interface org.eclipse.lemminx.services.extensions.codeaction.IBaseCodeActionRequest
getDocument, getSharedSettingsMethods inherited from interface org.eclipse.lemminx.services.extensions.IComponentProvider
getComponent
-
Method Details
-
getUnresolved
org.eclipse.lsp4j.CodeAction getUnresolved()Returns the unresolved code action.- Returns:
- the unresolved code action.
-
getParticipantId
String getParticipantId()Returns the participant IDICodeActionResolvesParticipantwhich must resolve the unresolved code action.- Returns:
- the participant ID
ICodeActionResolvesParticipantwhich must resolve the unresolved code action.
-
getDataProperty
Returns the data property value of the givenfieldNameand null otherwise.- Parameters:
fieldName- the field name.- Returns:
- the data property value of the given
fieldNameand null otherwise.
-
getXMLGenerator
Returns the XML generator and null otherwise.- Parameters:
range- the range of the Code Action- Returns:
- the XML generator and null otherwise.
- Throws:
BadLocationException
-