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
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractMetadataDiagnostic(List<MDOType> types) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddDiagnostic(String message) protected voidcheck()protected abstract voidcheckMetadata(MD mdo) protected booleanMethods inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
getDiagnostics, getInfo, setInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
checkin classAbstractDiagnostic
-
computeDiagnosticRange
protected boolean computeDiagnosticRange() -
addDiagnostic
-
checkMetadata
-