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

intersection

open static fun intersection(pc1: Pointcut, pc2: Pointcut): Pointcut

Match all methods that both the given pointcuts match.

Parameters

pc1 - the first Pointcut

pc2 - the second Pointcut

Return
a distinct Pointcut that matches all methods that both of the given Pointcuts match