Package org.sonar.python.checks
Class FunctionNameCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.AbstractNameCheck
-
- org.sonar.python.checks.AbstractFunctionNameCheck
-
- org.sonar.python.checks.FunctionNameCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class FunctionNameCheck extends AbstractFunctionNameCheck
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.PythonCheck
PythonCheck.PreciseIssue
-
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.SubscriptionCheck
SubscriptionCheck.Context
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHECK_KEY-
Fields inherited from class org.sonar.python.checks.AbstractFunctionNameCheck
format
-
-
Constructor Summary
Constructors Constructor Description FunctionNameCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldCheckFunctionDeclaration(FunctionDef pyFunctionDefTree)StringtypeName()-
Methods inherited from class org.sonar.python.checks.AbstractFunctionNameCheck
format, initialize
-
Methods inherited from class org.sonar.python.checks.AbstractNameCheck
pattern
-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
-
-
-
Field Detail
-
CHECK_KEY
public static final String CHECK_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
typeName
public String typeName()
- Specified by:
typeNamein classAbstractFunctionNameCheck
-
shouldCheckFunctionDeclaration
public boolean shouldCheckFunctionDeclaration(FunctionDef pyFunctionDefTree)
- Specified by:
shouldCheckFunctionDeclarationin classAbstractFunctionNameCheck
-
-