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
public abstract class AbstractFunctionNameCheck extends AbstractNameCheck
-
-
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
-
-
Constructor Summary
Constructors Constructor Description AbstractFunctionNameCheck()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Stringformat()voidinitialize(SubscriptionCheck.Context context)abstract booleanshouldCheckFunctionDeclaration(FunctionDef pyFunctionDefTree)abstract StringtypeName()-
Methods inherited from class org.sonar.python.checks.AbstractNameCheck
pattern
-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
-
-
-
Field Detail
-
format
public String format
-
-
Method Detail
-
format
protected String format()
- Specified by:
formatin classAbstractNameCheck
-
initialize
public void initialize(SubscriptionCheck.Context context)
-
typeName
public abstract String typeName()
-
shouldCheckFunctionDeclaration
public abstract boolean shouldCheckFunctionDeclaration(FunctionDef pyFunctionDefTree)
-
-