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

union

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

Match all methods that either (or both) of the given MethodMatchers matches.

Parameters

mm1 - the first MethodMatcher

mm2 - the second MethodMatcher

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