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

union

open fun union(other: ClassFilter): ComposablePointcut

Apply a union with the given ClassFilter.

Parameters

other - the ClassFilter to apply a union with

Return
this composable pointcut (for call chaining)

open fun union(other: MethodMatcher): ComposablePointcut

Apply a union with the given MethodMatcher.

Parameters

other - the MethodMatcher to apply a union with

Return
this composable pointcut (for call chaining)

open fun union(other: Pointcut): ComposablePointcut

Apply a union with the given Pointcut.

Note that for a Pointcut union, methods will only match if their original ClassFilter (from the originating Pointcut) matches as well. MethodMatchers and ClassFilters from different Pointcuts will never get interleaved with each other.

Parameters

other - the Pointcut to apply a union with

Return
this composable pointcut (for call chaining)