Class XMLReferencesReferenceParticipant

    • Constructor Detail

      • XMLReferencesReferenceParticipant

        public XMLReferencesReferenceParticipant​(XMLReferencesPlugin plugin)
    • Method Detail

      • match

        protected boolean match​(DOMDocument document)
        Description copied from class: AbstractReferenceParticipant
        Returns true if the reference support is applicable for the given document and false otherwise.
        Specified by:
        match in class AbstractReferenceParticipant
        Returns:
        true if the reference support is applicable for the given document and false otherwise.
      • findReferences

        protected void findReferences​(DOMNode node,
                                      org.eclipse.lsp4j.Position position,
                                      int offset,
                                      org.eclipse.lsp4j.ReferenceContext context,
                                      List<org.eclipse.lsp4j.Location> locations,
                                      org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
        Description copied from class: AbstractReferenceParticipant
        Find the references
        Specified by:
        findReferences in class AbstractReferenceParticipant