union method

From now on, also matches what other matches; returns this pointcut.

Implementation

ComposablePointcut union(AopPointcut other) {
  final current = _matches;
  _matches = (s, name, aliases, introduced) =>
      current(s, name, aliases, introduced) ||
      pointcutMatchesBean(
        other,
        s,
        name,
        aliases,
        introducedTypes: introduced,
      );
  return this;
}