Class MissingParameterDescriptionDiagnostic
java.lang.Object
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractSymbolTreeDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.MissingParameterDescriptionDiagnostic
- All Implemented Interfaces:
SymbolTreeVisitor, BSLDiagnostic
@DiagnosticMetadata(type=CODE_SMELL,
severity=MAJOR,
minutesToFix=5,
tags={STANDARD,BADPRACTICE})
public class MissingParameterDescriptionDiagnostic
extends AbstractSymbolTreeDiagnostic
-
Field Summary
Fields inherited from class AbstractDiagnostic
diagnosticStorage, documentContext, info -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvisitMethod(MethodSymbol methodSymbol) Анализируется только методы, имеющие описание Для удобства кидается несколько разных замечанийMethods inherited from class AbstractSymbolTreeDiagnostic
check, visitModule, visitRegion, visitVariableMethods 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
-
Constructor Details
-
MissingParameterDescriptionDiagnostic
public MissingParameterDescriptionDiagnostic()
-
-
Method Details
-
visitMethod
Анализируется только методы, имеющие описание Для удобства кидается несколько разных замечаний- Specified by:
visitMethodin interfaceSymbolTreeVisitor- Overrides:
visitMethodin classAbstractSymbolTreeDiagnostic- Parameters:
methodSymbol- Символ метода
-