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.
| Modifier and Type | Field and Description |
|---|---|
| private Pattern[] | compiledExclusionPatterns
Compiled form of the exclusion patterns. |
| private Pattern[] | compiledPatterns
Compiled form of the patterns. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Pattern[] | compilePatterns(String[] source)
Compiles the supplied |
| protected void | initExcludedPatternRepresentation(String[]
the patterns to initialize excludedPatterns)Implements abstract org. Initialize exclusion |
| protected void | initPatternRepresentation(String[]
the patterns to initialize patterns)Implements abstract org. Initialize |
| protected boolean | matches(String
the pattern, int String pattern to matchindex of pattern (starting from 0) patternIndex)Implements abstract org. Returns |
| protected boolean | matchesExclusion(String
the candidate, int String pattern to matchindex of pattern (starting from 0) patternIndex)Implements abstract org. Returns |
| compiledExclusionPatterns | back to summary |
|---|---|
| private Pattern[] compiledExclusionPatterns Compiled form of the exclusion patterns. | |
| compiledPatterns | back to summary |
|---|---|
| private Pattern[] compiledPatterns Compiled form of the patterns. | |
| JdkRegexpMethodPointcut | back to summary |
|---|---|
| public JdkRegexpMethodPointcut() | |
| compilePatterns | back to summary |
|---|---|
| private Pattern[] compilePatterns(String[] source) throws PatternSyntaxException Compiles the supplied | |
| initExcludedPatternRepresentation | back to summary |
|---|---|
| protected void initExcludedPatternRepresentation(String[] excludedPatterns) throws PatternSyntaxException Implements abstract org. Initialize exclusion
| |
| initPatternRepresentation | back to summary |
|---|---|
| protected void initPatternRepresentation(String[] patterns) throws PatternSyntaxException Implements abstract org. Initialize
| |
| matches | back to summary |
|---|---|
| protected boolean matches(String pattern, int patternIndex) Implements abstract org. Returns
| |
| matchesExclusion | back to summary |
|---|---|
| protected boolean matchesExclusion(String candidate, int patternIndex) Implements abstract org. Returns
| |