Package org.eclipse.lsp4j
Class DocumentDiagnosticReport
- java.lang.Object
-
- org.eclipse.lsp4j.jsonrpc.messages.Either<RelatedFullDocumentDiagnosticReport,RelatedUnchangedDocumentDiagnosticReport>
-
- org.eclipse.lsp4j.DocumentDiagnosticReport
-
public class DocumentDiagnosticReport extends org.eclipse.lsp4j.jsonrpc.messages.Either<RelatedFullDocumentDiagnosticReport,RelatedUnchangedDocumentDiagnosticReport>
The result of a document diagnostic pull request. A report can either be a full report containing all diagnostics for the requested document or a unchanged report indicating that nothing has changed in terms of diagnostics in comparison to the last pull request.Since 3.17.0
-
-
Constructor Summary
Constructors Constructor Description DocumentDiagnosticReport(RelatedFullDocumentDiagnosticReport relatedFullDocumentDiagnosticReport)DocumentDiagnosticReport(RelatedUnchangedDocumentDiagnosticReport relatedUnchangedDocumentDiagnosticReport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)RelatedFullDocumentDiagnosticReportgetRelatedFullDocumentDiagnosticReport()RelatedUnchangedDocumentDiagnosticReportgetRelatedUnchangedDocumentDiagnosticReport()inthashCode()booleanisRelatedFullDocumentDiagnosticReport()booleanisRelatedUnchangedDocumentDiagnosticReport()java.lang.StringtoString()
-
-
-
Constructor Detail
-
DocumentDiagnosticReport
public DocumentDiagnosticReport(RelatedFullDocumentDiagnosticReport relatedFullDocumentDiagnosticReport)
-
DocumentDiagnosticReport
public DocumentDiagnosticReport(RelatedUnchangedDocumentDiagnosticReport relatedUnchangedDocumentDiagnosticReport)
-
-
Method Detail
-
getRelatedFullDocumentDiagnosticReport
public RelatedFullDocumentDiagnosticReport getRelatedFullDocumentDiagnosticReport()
-
isRelatedFullDocumentDiagnosticReport
public boolean isRelatedFullDocumentDiagnosticReport()
-
getRelatedUnchangedDocumentDiagnosticReport
public RelatedUnchangedDocumentDiagnosticReport getRelatedUnchangedDocumentDiagnosticReport()
-
isRelatedUnchangedDocumentDiagnosticReport
public boolean isRelatedUnchangedDocumentDiagnosticReport()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.eclipse.lsp4j.jsonrpc.messages.Either<RelatedFullDocumentDiagnosticReport,RelatedUnchangedDocumentDiagnosticReport>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classorg.eclipse.lsp4j.jsonrpc.messages.Either<RelatedFullDocumentDiagnosticReport,RelatedUnchangedDocumentDiagnosticReport>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classorg.eclipse.lsp4j.jsonrpc.messages.Either<RelatedFullDocumentDiagnosticReport,RelatedUnchangedDocumentDiagnosticReport>
-
-