Class DiagnosticInfo
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.metadata.DiagnosticInfo
Метаинформация о диагностике.
Содержит полную информацию о диагностике: метаданные из аннотации, описание на разных языках, параметры конфигурации, правила активации. Используется для настройки, фильтрации и отображения диагностик.
-
Constructor Summary
ConstructorsConstructorDescriptionDiagnosticInfo(Class<? extends BSLDiagnostic> diagnosticClass, LanguageServerConfiguration configuration, com.github._1c_syntax.utils.StringInterner stringInterner) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCode()Class<? extends BSLDiagnostic>doublegetMessage(Object... args) intcom.github._1c_syntax.bsl.types.ModuleType[]getName()getParameter(String parameterName) getResourceString(String key) getResourceString(String key, Object... args) getScope()getTags()getType()booleanvoidrefresh()
-
Constructor Details
-
DiagnosticInfo
public DiagnosticInfo(Class<? extends BSLDiagnostic> diagnosticClass, LanguageServerConfiguration configuration, com.github._1c_syntax.utils.StringInterner stringInterner)
-
-
Method Details
-
refresh
public void refresh() -
getCode
-
getDiagnosticCodeDescriptionHref
-
getName
-
getDescription
-
getMessage
-
getMessage
-
getResourceString
-
getResourceString
-
getType
-
getSeverity
-
getLSPSeverity
-
getCompatibilityMode
-
getScope
-
getModules
public com.github._1c_syntax.bsl.types.ModuleType[] getModules() -
getMinutesToFix
public int getMinutesToFix() -
isActivatedByDefault
public boolean isActivatedByDefault() -
getTags
-
getLSPTags
-
getParameters
-
getParameter
-
canLocateOnProject
public boolean canLocateOnProject() -
getExtraMinForComplexity
public double getExtraMinForComplexity() -
getDefaultConfiguration
-
getDiagnosticClass
-