Class IsTypeOrSuperTypeSatisfyingPredicate

java.lang.Object
org.sonar.python.types.v2.matchers.IsTypeOrSuperTypeSatisfyingPredicate
All Implemented Interfaces:
TypePredicate

public class IsTypeOrSuperTypeSatisfyingPredicate extends Object implements 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.