Class RelatedFullDocumentDiagnosticReport


  • public class RelatedFullDocumentDiagnosticReport
    extends FullDocumentDiagnosticReport
    A full diagnostic report with a set of related documents.

    Since 3.17.0

    • Constructor Detail

      • RelatedFullDocumentDiagnosticReport

        public RelatedFullDocumentDiagnosticReport()
      • RelatedFullDocumentDiagnosticReport

        public RelatedFullDocumentDiagnosticReport​(java.util.List<Diagnostic> items)
    • Method Detail

      • getRelatedDocuments

        public java.util.Map<java.lang.String,​org.eclipse.lsp4j.jsonrpc.messages.Either<FullDocumentDiagnosticReport,​UnchangedDocumentDiagnosticReport>> getRelatedDocuments()
        Diagnostics of related documents. This information is useful in programming languages where code in a file A can generate diagnostics in a file B which A depends on. An example of such a language is C/C++ where marco definitions in a file a.cpp and result in errors in a header file b.hpp.
      • setRelatedDocuments

        public void setRelatedDocuments​(java.util.Map<java.lang.String,​org.eclipse.lsp4j.jsonrpc.messages.Either<FullDocumentDiagnosticReport,​UnchangedDocumentDiagnosticReport>> relatedDocuments)
        Diagnostics of related documents. This information is useful in programming languages where code in a file A can generate diagnostics in a file B which A depends on. An example of such a language is C/C++ where marco definitions in a file a.cpp and result in errors in a header file b.hpp.