Package org.sonar.python.checks
Class IncompatibleOperands
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.IncompatibleOperands
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
- Direct Known Subclasses:
IncompatibleOperandsCheck
public abstract class IncompatibleOperands extends PythonSubscriptionCheck
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classIncompatibleOperands.SpecialMethod-
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 IncompatibleOperands()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidinitialize(SubscriptionCheck.Context context)abstract Stringmessage(Token operator)abstract Stringmessage(Token operator, InferredType left, InferredType right)abstract IncompatibleOperands.SpecialMethodresolveMethod(InferredType type, String method)-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
-
-
-
Method Detail
-
initialize
public void initialize(SubscriptionCheck.Context context)
-
resolveMethod
public abstract IncompatibleOperands.SpecialMethod resolveMethod(InferredType type, String method)
-
message
public abstract String message(Token operator, InferredType left, InferredType right)
-
-