Package org.eclipse.lsp4j
Class RelatedFullDocumentDiagnosticReport
- java.lang.Object
-
- org.eclipse.lsp4j.FullDocumentDiagnosticReport
-
- org.eclipse.lsp4j.RelatedFullDocumentDiagnosticReport
-
public class RelatedFullDocumentDiagnosticReport extends FullDocumentDiagnosticReport
A full diagnostic report with a set of related documents.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description RelatedFullDocumentDiagnosticReport()RelatedFullDocumentDiagnosticReport(java.util.List<Diagnostic> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.Map<java.lang.String,org.eclipse.lsp4j.jsonrpc.messages.Either<FullDocumentDiagnosticReport,UnchangedDocumentDiagnosticReport>>getRelatedDocuments()Diagnostics of related documents.inthashCode()voidsetRelatedDocuments(java.util.Map<java.lang.String,org.eclipse.lsp4j.jsonrpc.messages.Either<FullDocumentDiagnosticReport,UnchangedDocumentDiagnosticReport>> relatedDocuments)Diagnostics of related documents.java.lang.StringtoString()-
Methods inherited from class org.eclipse.lsp4j.FullDocumentDiagnosticReport
getItems, getKind, getResultId, setItems, setResultId
-
-
-
-
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.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classFullDocumentDiagnosticReport
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classFullDocumentDiagnosticReport
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFullDocumentDiagnosticReport
-
-