open static fun union(pc1: Pointcut, pc2: Pointcut): Pointcut
Match all methods that either (or both) of the given pointcuts matches.
pc1 - the first Pointcut
pc1
pc2 - the second Pointcut
pc2
Return a distinct Pointcut that matches all methods that either of the given Pointcuts matches