Uses of Interface
org.sonar.python.types.v2.matchers.TypePredicate
Packages that use TypePredicate
-
Uses of TypePredicate in org.sonar.python.semantic.v2.types
Methods in org.sonar.python.semantic.v2.types that return TypePredicateModifier and TypeMethodDescriptionstatic TypePredicateTypeInferenceMatchers.any(TypePredicate... predicates) static TypePredicatestatic TypePredicateTypeInferenceMatchers.isObjectOfType(String fqn) static TypePredicateTypeInferenceMatchers.isObjectSatisfying(TypePredicate matcher) static TypePredicateTypeInferenceMatchers.isOrExtendsType(String fqn) static TypePredicateTypeInferenceMatchers.isSelf()static TypePredicatestatic TypePredicateMethods in org.sonar.python.semantic.v2.types with parameters of type TypePredicateModifier and TypeMethodDescriptionstatic TypePredicateTypeInferenceMatchers.any(TypePredicate... predicates) static TypePredicateTypeInferenceMatchers.isObjectSatisfying(TypePredicate matcher) static TypeInferenceMatcherTypeInferenceMatcher.of(TypePredicate predicate) -
Uses of TypePredicate in org.sonar.python.types.v2.matchers
Classes in org.sonar.python.types.v2.matchers that implement TypePredicateModifier and TypeClassDescriptionclassTypePredicate implementation that requires all provided type predicates to pass (AND logic).classTypePredicate implementation that requires at least one provided type predicate to pass (OR logic).final recordclassclassclassclassTypePredicate decorator that unwraps FunctionType to check if its owner satisfies the wrapped predicate.classclassclassTypePredicate decorator that checks if a type or any of its supertypes satisfies the wrapped predicate.classclassMethods in org.sonar.python.types.v2.matchers that return TypePredicateModifier and TypeMethodDescriptionTypeMatcherImpl.predicate()Returns the value of thepredicaterecord component.Methods in org.sonar.python.types.v2.matchers with parameters of type TypePredicateModifier and TypeMethodDescriptionstatic TriBoolTypePredicateUtils.evaluate(TypePredicate predicate, PythonType type, TypePredicateContext ctx) Constructors in org.sonar.python.types.v2.matchers with parameters of type TypePredicateModifierConstructorDescriptionHasMemberSatisfyingPredicate(String memberName, TypePredicate memberTypePredicate) IsAnyTypeInUnionSatisfying(TypePredicate wrappedPredicate) IsFunctionOwnerSatisfyingPredicate(TypePredicate wrappedPredicate) IsObjectSatisfyingPredicate(TypePredicate wrappedPredicate) IsTypeOrSuperTypeSatisfyingPredicate(TypePredicate wrappedPredicate) TypeMatcherImpl(TypePredicate predicate) Creates an instance of aTypeMatcherImplrecord class.Constructor parameters in org.sonar.python.types.v2.matchers with type arguments of type TypePredicateModifierConstructorDescriptionAllTypePredicate(List<TypePredicate> predicates) AnyTypePredicate(List<TypePredicate> predicates)