Class AbstractMetadataDiagnostic
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractMetadataDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
- Direct Known Subclasses:
DenyIncompleteValuesDiagnostic
,ForbiddenMetadataNameDiagnostic
,MetadataObjectNameLengthDiagnostic
,SameMetadataObjectAndChildNamesDiagnostic
,ScheduledJobHandlerDiagnostic
Базовый класс для анализа объектов метаданных, когда диагностика регистрируется на первый токен модуля
-
Field Summary
Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
diagnosticStorage, documentContext, info
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
AbstractMetadataDiagnostic
(List<com.github._1c_syntax.bsl.types.MDOType> types) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addDiagnostic
(String message) protected void
check()
protected abstract void
checkMetadata
(MD mdo) protected boolean
Methods inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
getDiagnostics, getInfo, setInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github._1c_syntax.bsl.languageserver.diagnostics.BSLDiagnostic
configure
-
Constructor Details
-
AbstractMetadataDiagnostic
-
AbstractMetadataDiagnostic
protected AbstractMetadataDiagnostic()
-
-
Method Details
-
check
protected void check()- Specified by:
check
in classAbstractDiagnostic
-
computeDiagnosticRange
protected boolean computeDiagnosticRange() -
addDiagnostic
-
checkMetadata
-