code: public static Pointcut createPointcut(PointcutRule pointcutRule) {
          if (pointcutRule.getPointcutType() == PointcutType.REGEXP) {
              return createRegexpPointcut(pointcutRule.getPointcutPatternRuleList());
          } else {
              return createWildcardPointcut(pointcutRule.getPointcutPatternRuleList());
          }
      }
docs: Creates a new Pointcut instance.
  
  @param pointcutRule the pointcut rule
  @return the pointcut