Class RedundantAccessToObjectDiagnostic
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<Result>
com.github._1c_syntax.bsl.parser.BSLParserBaseVisitor<ParseTree>
com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic
com.github._1c_syntax.bsl.languageserver.diagnostics.RedundantAccessToObjectDiagnostic
- All Implemented Interfaces:
BSLDiagnostic
,BSLParserVisitor<ParseTree>
,ParseTreeVisitor<ParseTree>
@DiagnosticMetadata(type=CODE_SMELL,
severity=INFO,
minutesToFix=1,
modules={CommonModule,ObjectModule,ManagerModule,FormModule,RecordSetModule},
tags={STANDARD,CLUMSY},
scope=BSL)
public class RedundantAccessToObjectDiagnostic
extends AbstractVisitorDiagnostic
-
Field Summary
Fields inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic
diagnosticStorage, documentContext, info
-
Constructor Summary
-
Method Summary
Methods inherited from class com.github._1c_syntax.bsl.languageserver.diagnostics.AbstractVisitorDiagnostic
getInfo, setInfo
Methods inherited from class com.github._1c_syntax.bsl.parser.BSLParserBaseVisitor
visitAcceptor, visitAccessCall, visitAccessIndex, visitAccessProperty, visitAddHandlerStatement, visitAnnotation, visitAnnotationName, visitAnnotationParam, visitAnnotationParamName, visitAnnotationParams, visitAssignment, visitBoolOperation, visitBreakStatement, visitCallParam, visitCallParamList, visitCodeBlock, visitCompareOperation, visitCompilerDirective, visitCompilerDirectiveSymbol, visitCompoundStatement, visitConstValue, visitContinueStatement, visitDefaultValue, visitDoCall, visitElseBranch, visitElsifBranch, visitEvent, visitExceptCodeBlock, visitExecuteStatement, visitExpression, visitFile, visitFileCodeBlock, visitFileCodeBlockBeforeSub, visitForEachStatement, visitForStatement, visitFuncDeclaration, visitFunction, visitGlobalMethodCall, visitGotoStatement, visitHandler, visitIfBranch, visitIfStatement, visitLabel, visitLabelName, visitMember, visitMethodCall, visitMethodName, visitModifier, visitModuleAnnotations, visitModuleVar, visitModuleVarDeclaration, visitModuleVars, visitModuleVarsList, visitMultilineString, visitNewExpression, visitNumeric, visitOperation, visitParam, visitParamList, visitPreproc_boolOperation, visitPreproc_else, visitPreproc_elsif, visitPreproc_endif, visitPreproc_expression, visitPreproc_if, visitPreproc_logicalExpression, visitPreproc_logicalOperand, visitPreproc_native, visitPreproc_symbol, visitPreproc_unknownSymbol, visitPreprocessor, visitProcDeclaration, visitProcedure, visitRaiseStatement, visitRegionEnd, visitRegionName, visitRegionStart, visitRemoveHandlerStatement, visitReturnStatement, visitShebang, visitStatement, visitString, visitSub, visitSubCodeBlock, visitSubName, visitSubs, visitSubVar, visitSubVarDeclaration, visitSubVars, visitSubVarsList, visitTernaryOperator, visitTryCodeBlock, visitTryStatement, visitTypeName, visitUnaryModifier, visitUse, visitUsedLib, visitVar_name, visitWaitExpression, visitWaitStatement, visitWhileStatement
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
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
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
RedundantAccessToObjectDiagnostic
public RedundantAccessToObjectDiagnostic()
-
-
Method Details
-
getDiagnostics
- Specified by:
getDiagnostics
in interfaceBSLDiagnostic
- Overrides:
getDiagnostics
in classAbstractVisitorDiagnostic
-
visitCallStatement
- Specified by:
visitCallStatement
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitCallStatement
in classBSLParserBaseVisitor<ParseTree>
-
visitComplexIdentifier
- Specified by:
visitComplexIdentifier
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitComplexIdentifier
in classBSLParserBaseVisitor<ParseTree>
-
visitLValue
- Specified by:
visitLValue
in interfaceBSLParserVisitor<ParseTree>
- Overrides:
visitLValue
in classBSLParserBaseVisitor<ParseTree>
-