Package org.eclipse.lsp4j
Class RelatedUnchangedDocumentDiagnosticReport
- java.lang.Object
-
- org.eclipse.lsp4j.UnchangedDocumentDiagnosticReport
-
- org.eclipse.lsp4j.RelatedUnchangedDocumentDiagnosticReport
-
public class RelatedUnchangedDocumentDiagnosticReport extends UnchangedDocumentDiagnosticReport
An unchanged diagnostic report with a set of related documents.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description RelatedUnchangedDocumentDiagnosticReport()RelatedUnchangedDocumentDiagnosticReport(java.lang.String resultId)
-
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.UnchangedDocumentDiagnosticReport
getKind, getResultId, setResultId
-
-
-
-
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 classUnchangedDocumentDiagnosticReport
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classUnchangedDocumentDiagnosticReport
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUnchangedDocumentDiagnosticReport
-
-