Package org.sonar.python.checks
Class IncompatibleOperandsCheck
- java.lang.Object
-
- org.sonar.plugins.python.api.PythonSubscriptionCheck
-
- org.sonar.python.checks.IncompatibleOperands
-
- org.sonar.python.checks.IncompatibleOperandsCheck
-
- All Implemented Interfaces:
PythonCheck,SubscriptionCheck
public class IncompatibleOperandsCheck extends IncompatibleOperands
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.python.checks.IncompatibleOperands
IncompatibleOperands.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 IncompatibleOperandsCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmessage(Token operator)Stringmessage(Token operator, InferredType left, InferredType right)IncompatibleOperands.SpecialMethodresolveMethod(InferredType type, String method)-
Methods inherited from class org.sonar.python.checks.IncompatibleOperands
initialize
-
Methods inherited from class org.sonar.plugins.python.api.PythonSubscriptionCheck
leaveFile, scanFile
-
-
-
-
Method Detail
-
resolveMethod
public IncompatibleOperands.SpecialMethod resolveMethod(InferredType type, String method)
- Specified by:
resolveMethodin classIncompatibleOperands
-
message
public String message(Token operator, InferredType left, InferredType right)
- Specified by:
messagein classIncompatibleOperands
-
message
public String message(Token operator)
- Specified by:
messagein classIncompatibleOperands
-
-