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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonar.plugins.python.api.PythonCheck
PythonCheck.CheckScope, PythonCheck.PreciseIssueNested classes/interfaces inherited from interface org.sonar.plugins.python.api.SubscriptionCheck
SubscriptionCheck.Context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValidSubscription(Expression subscriptionObject, String requiredMethod, String classRequiredMethod, Map<LocationInFile, String> secondaries) Methods inherited from class org.sonar.python.checks.ItemOperationsType
initializeMethods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFileMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonar.plugins.python.api.PythonCheck
scanWithoutParsing, scope
-
Constructor Details
-
ItemOperationsTypeCheck
public ItemOperationsTypeCheck()
-
-
Method Details
-
isValidSubscription
public boolean isValidSubscription(Expression subscriptionObject, String requiredMethod, @Nullable String classRequiredMethod, Map<LocationInFile, String> secondaries) - Specified by:
isValidSubscriptionin classItemOperationsType
-
message
- Specified by:
messagein classItemOperationsType
-