Class CommonModuleNameClientServerDiagnostic
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.CommonModuleNameClientServerDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
@DiagnosticMetadata(type=CODE_SMELL,
severity=MAJOR,
scope=BSL,
modules=CommonModule,
minutesToFix=5,
tags={STANDARD,BADPRACTICE,UNPREDICTABLE})
public class CommonModuleNameClientServerDiagnostic
extends AbstractDiagnostic
-
Field Summary
FieldsFields inherited from class AbstractDiagnostic
diagnosticStorage, documentContext, info -
Constructor Summary
ConstructorsConstructorDescriptionCommonModuleNameClientServerDiagnostic(LanguageServerConfiguration serverConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcheck()protected booleanflagsCheck(CommonModule commonModule) protected booleanisClient(CommonModule commonModule) protected booleanisClientServer(CommonModule commonModule) protected booleanisServer(CommonModule commonModule) protected booleanisServerCall(CommonModule commonModule) protected booleanmatchCheck(Matcher matcher) Methods inherited from class AbstractDiagnostic
getDiagnostics, getInfo, setInfoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BSLDiagnostic
configure
-
Field Details
-
pattern
-
-
Constructor Details
-
CommonModuleNameClientServerDiagnostic
-
-
Method Details
-
flagsCheck
-
check
protected void check()- Specified by:
checkin classAbstractDiagnostic
-
matchCheck
-
isClientServer
-
isClient
-
isServerCall
-
isServer
-