public class JdkRegexpMethodPointcut extends AbstractRegexpMethodPointcut
java.util.regex package.
Supports the following JavaBean properties:
Note: the regular expressions must be a match. For example,
.*get.* will match com.mycom.Foo.getBar().
get.* will not.
TRUE| Constructor and Description |
|---|
JdkRegexpMethodPointcut() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initExcludedPatternRepresentation(String[] excludedPatterns)
Initialize exclusion
Patterns from the supplied String[]. |
protected void |
initPatternRepresentation(String[] patterns)
Initialize
Patterns from the supplied String[]. |
protected boolean |
matches(String pattern,
int patternIndex)
|
protected boolean |
matchesExclusion(String candidate,
int patternIndex)
|
equals, getExcludedPatterns, getPatterns, hashCode, matches, matchesPattern, setExcludedPattern, setExcludedPatterns, setPattern, setPatterns, toStringgetClassFilter, getMethodMatcher, setClassFilterisRuntime, matchesprotected void initPatternRepresentation(String[] patterns) throws PatternSyntaxException
Patterns from the supplied String[].initPatternRepresentation in class AbstractRegexpMethodPointcutpatterns - the patterns to initializePatternSyntaxExceptionprotected void initExcludedPatternRepresentation(String[] excludedPatterns) throws PatternSyntaxException
Patterns from the supplied String[].initExcludedPatternRepresentation in class AbstractRegexpMethodPointcutexcludedPatterns - the patterns to initializePatternSyntaxExceptionprotected boolean matches(String pattern, int patternIndex)
matches in class AbstractRegexpMethodPointcutpattern - String pattern to matchpatternIndex - index of pattern from 0true if there is a match, else false.protected boolean matchesExclusion(String candidate, int patternIndex)
matchesExclusion in class AbstractRegexpMethodPointcutcandidate - String pattern to match.patternIndex - index of pattern starting from 0.true if there is a match, else false.