Class AggregateRelatedInfoFinder

java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.AggregateRelatedInfoFinder
All Implemented Interfaces:
IRelatedInfoFinder

public class AggregateRelatedInfoFinder extends Object implements IRelatedInfoFinder
Finds related info for any error code
  • Method Details

    • getInstance

      public static AggregateRelatedInfoFinder getInstance()
    • findRelatedInformation

      public List<org.eclipse.lsp4j.DiagnosticRelatedInformation> findRelatedInformation(int offset, String errorKey, DOMDocument document)
      Description copied from interface: IRelatedInfoFinder
      Returns a list of related information
      Specified by:
      findRelatedInformation in interface IRelatedInfoFinder
      Parameters:
      offset - The LemMinX reported error start offset
      errorKey - The error key
      document - The document
      Returns:
      a list of related information