Class AbstractTypeDefinitionParticipant

    • Constructor Detail

      • AbstractTypeDefinitionParticipant

        public AbstractTypeDefinitionParticipant()
    • Method Detail

      • match

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

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