Class AbstractDefinitionParticipant

    • Constructor Detail

      • AbstractDefinitionParticipant

        public AbstractDefinitionParticipant()
    • Method Detail

      • match

        protected abstract boolean match​(DOMDocument document)
        Returns true if the definition support is applicable for the given document and false otherwise.
        Parameters:
        document -
        Returns:
        true if the definition support is applicable for the given document and false otherwise.
      • doFindDefinition

        protected abstract void doFindDefinition​(IDefinitionRequest request,
                                                 List<org.eclipse.lsp4j.LocationLink> locations,
                                                 org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
        Find the definition
        Parameters:
        request -
        locations -
        cancelChecker -