public static Pointcut createPointcut ( PointcutRule pointcutRule ) { if ( pointcutRule . getPointcutType ( ) == PointcutType . REGEXP ) { return createRegexpPointcut ( pointcutRule . getPointcutPatternRuleList ( ) ) ; } else { return createWildcardPointcut ( pointcutRule . getPointcutPatternRuleList ( ) ) ; } }
Creates a new Pointcut instance .