Package org.sonar.python.checks
Class ItemOperationsTypeCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.ItemOperationsType
-
- org.sonar.python.checks.ItemOperationsTypeCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class ItemOperationsTypeCheck extends ItemOperationsType
-
-
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 ItemOperationsTypeCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisValidSubscription(Expression subscriptionObject, String requiredMethod, String classRequiredMethod, Map<LocationInFile,String> secondaries)Stringmessage(String name, String missingMethod)-
Methods inherited from class org.sonar.python.checks.ItemOperationsType
initialize
-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
-
-
-
Method Detail
-
isValidSubscription
public boolean isValidSubscription(Expression subscriptionObject, String requiredMethod, @Nullable String classRequiredMethod, Map<LocationInFile,String> secondaries)
- Specified by:
isValidSubscriptionin classItemOperationsType
-
-