Package org.sonar.python.checks
Class NonCallableCalled
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.NonCallableCalled
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
- Direct Known Subclasses:
NonCallableCalledCheck
public abstract class NonCallableCalled extends PythonSubscriptionCheck
-
-
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 NonCallableCalled()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static StringaddTypeName(InferredType type)voidinitialize(SubscriptionCheck.Context context)abstract booleanisNonCallableType(InferredType type)abstract Stringmessage(InferredType calleeType, String name)-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
-
-
-
Method Detail
-
initialize
public void initialize(SubscriptionCheck.Context context)
-
addTypeName
protected static String addTypeName(InferredType type)
-
isNonCallableType
public abstract boolean isNonCallableType(InferredType type)
-
message
public abstract String message(InferredType calleeType, @Nullable String name)
-
-