Package org.sonar.python.checks
Class NonCallableCalledCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.NonCallableCalled
-
- org.sonar.python.checks.NonCallableCalledCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class NonCallableCalledCheck extends NonCallableCalled
-
-
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 NonCallableCalledCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisNonCallableType(InferredType type)Stringmessage(InferredType calleeType, String name)-
Methods inherited from class org.sonar.python.checks.NonCallableCalled
addTypeName, initialize
-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
-
-
-
Method Detail
-
isNonCallableType
public boolean isNonCallableType(InferredType type)
- Specified by:
isNonCallableTypein classNonCallableCalled
-
message
public String message(InferredType calleeType, @Nullable String name)
- Specified by:
messagein classNonCallableCalled
-
-