Interface ICompletionItemResolverRequest

    • Method Detail

      • getUnresolved

        org.eclipse.lsp4j.CompletionItem getUnresolved()
        Returns the unresolved completion item.
        Returns:
        the unresolved completion item
      • getParticipantId

        String getParticipantId()
        Returns the id of the participant that can resolve the request.
        Returns:
        the id of the participant that can resolve the request
      • getDataProperty

        String getDataProperty​(String fieldName)
        Returns the value of a field from the supplementary data attached to the request as a string.
        Parameters:
        fieldName - the name of the field to retrieve the data from
        Returns:
        the value of a field from the supplementary data attached to the request as a string
      • getDataPropertyAsInt

        Integer getDataPropertyAsInt​(String fieldName)
        Returns the value of a field from the supplementary data attached to the request as an integer, or null if the field is not an integer.
        Parameters:
        fieldName - the name of the field to retrieve the data from
        Returns:
        the value of a field from the supplementary data attached to the request as an integer, or null if the field is not an integer
      • getDataPropertyAsBoolean

        Boolean getDataPropertyAsBoolean​(String participantId)
        Returns the value of a field from the supplementary data attached to the request as an boolean, or null if the field is not an boolean.
        Parameters:
        fieldName - the name of the field to retrieve the data from
        Returns:
        the value of a field from the supplementary data attached to the request as an boolean, or null if the field is not an boolean
      • getDocument

        DOMDocument getDocument()
        Returns the DOM document.
        Returns:
        the DOM document
      • isResolveDocumentationSupported

        boolean isResolveDocumentationSupported()
        Returns true if the editor supports delayed resolution of documentation and false otherwise.
      • isResolveAdditionalTextEditsSupported

        boolean isResolveAdditionalTextEditsSupported()
        Returns true if the editor supports delayed resolution of additionalTextEdits and false otherwise.
      • getCompletionOffset

        Integer getCompletionOffset()
        Returns the completion offset coming from the completion item data and null otherwise.
        Returns:
        the completion offset coming from the completion item data and null otherwise.