Class IsTypeOrSuperTypeSatisfyingPredicate
java.lang.Object
org.sonar.python.types.v2.matchers.IsTypeOrSuperTypeSatisfyingPredicate
- All Implemented Interfaces:
TypePredicate
TypePredicate decorator that checks if a type or any of its supertypes satisfies the wrapped predicate.
Traverses the class hierarchy using BFS to check the type itself and all its superclasses.
Note: UnionType handling is performed by TypeMatcherImpl, not by this predicate.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IsTypeOrSuperTypeSatisfyingPredicate
-
-
Method Details
-
check
- Specified by:
checkin interfaceTypePredicate
-