Package org.sonar.python.checks
Class AbstractFunctionNameCheck
java.lang.Object
org.sonar.plugins.python.api.PythonSubscriptionCheck
org.sonar.python.checks.AbstractNameCheck
org.sonar.python.checks.AbstractFunctionNameCheck
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
- Direct Known Subclasses:
FunctionNameCheck,MethodNameCheck
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.PythonCheck
PythonCheck.CheckScope, PythonCheck.PreciseIssueNested classes/interfaces inherited from interface org.sonar.plugins.python.api.SubscriptionCheck
SubscriptionCheck.Context -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringformat()voidinitialize(SubscriptionCheck.Context context) abstract booleanshouldCheckFunctionDeclaration(FunctionDef pyFunctionDefTree) abstract StringtypeName()Methods inherited from class org.sonar.python.checks.AbstractNameCheck
patternMethods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.python.api.PythonCheck
scanWithoutParsing, scope
-
Field Details
-
format
-
-
Constructor Details
-
AbstractFunctionNameCheck
public AbstractFunctionNameCheck()
-
-
Method Details
-
format
- Specified by:
formatin classAbstractNameCheck
-
initialize
-
typeName
-
shouldCheckFunctionDeclaration
-