Class IsFunctionOwnerSatisfyingPredicate
java.lang.Object
org.sonar.python.types.v2.matchers.IsFunctionOwnerSatisfyingPredicate
- All Implemented Interfaces:
TypePredicate
TypePredicate decorator that unwraps FunctionType to check if its owner satisfies the wrapped predicate.
Returns FALSE if the type is not a FunctionType or if the owner is null.
Similar pattern to IsObjectSatisfyingPredicate but for FunctionType → owner relationship.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IsFunctionOwnerSatisfyingPredicate
-
-
Method Details
-
check
- Specified by:
checkin interfaceTypePredicate
-