spring-framework / org.springframework.aop.support / MethodMatchers / intersection

intersection

open static fun intersection(mm1: MethodMatcher, mm2: MethodMatcher): MethodMatcher

Match all methods that both of the given MethodMatchers match.

Parameters

mm1 - the first MethodMatcher

mm2 - the second MethodMatcher

Return
a distinct MethodMatcher that matches all methods that both of the given MethodMatchers match