Class AggregateRelatedInfoFinder
java.lang.Object
org.eclipse.lemminx.extensions.contentmodel.participants.AggregateRelatedInfoFinder
- All Implemented Interfaces:
IRelatedInfoFinder
Finds related info for any error code
-
Method Summary
Modifier and TypeMethodDescriptionList<org.eclipse.lsp4j.DiagnosticRelatedInformation>findRelatedInformation(int offset, String errorKey, DOMDocument document) Returns a list of related informationstatic AggregateRelatedInfoFinder
-
Method Details
-
getInstance
-
findRelatedInformation
public List<org.eclipse.lsp4j.DiagnosticRelatedInformation> findRelatedInformation(int offset, String errorKey, DOMDocument document) Description copied from interface:IRelatedInfoFinderReturns a list of related information- Specified by:
findRelatedInformationin interfaceIRelatedInfoFinder- Parameters:
offset- The LemMinX reported error start offseterrorKey- The error keydocument- The document- Returns:
- a list of related information
-