Class AbstractDiagnosticReporter
java.lang.Object
com.github._1c_syntax.bsl.languageserver.reporters.AbstractDiagnosticReporter
- All Implemented Interfaces:
DiagnosticReporter
- Direct Known Subclasses:
CodeQualityReporter, GenericIssueReporter, SarifReporter
Базовый класс для reporters, которым нужен доступ к per-workspace данным.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DiagnosticInfosprotected final ServerContextProvider -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDiagnosticReporter(ServerContextProvider serverContextProvider, DiagnosticInfos diagnosticInfos) -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<String, DiagnosticInfo> Получить DiagnosticInfo по коду для workspace из AnalysisInfo.protected ServerContextgetServerContext(AnalysisInfo analysisInfo) Получить ServerContext для workspace из AnalysisInfo.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DiagnosticReporter
key, report
-
Field Details
-
serverContextProvider
-
diagnosticInfos
-
-
Constructor Details
-
AbstractDiagnosticReporter
@ConstructorProperties({"serverContextProvider","diagnosticInfos"}) public AbstractDiagnosticReporter(ServerContextProvider serverContextProvider, DiagnosticInfos diagnosticInfos)
-
-
Method Details
-
getServerContext
Получить ServerContext для workspace из AnalysisInfo. -
getDiagnosticInfosByCode
Получить DiagnosticInfo по коду для workspace из AnalysisInfo.
-