public class JdkRegexpMethodPointcut extends AbstractRegexpMethodPointcut
java.util.regex
パッケージに基づく正規表現ポイントカット。次の JavaBean プロパティをサポートします。 メモ: 正規表現は一致する必要があります。例: .*get.*
は com.mycom.Foo.getBar() と一致します。get.*
はしません。
TRUE
コンストラクターと説明 |
---|
JdkRegexpMethodPointcut() |
修飾子と型 | メソッドと説明 |
---|---|
protected void | initExcludedPatternRepresentation(StringSE[] excludedPatterns) 提供された String[] からの除外 Patterns SE を初期化します。 |
protected void | initPatternRepresentation(StringSE[] patterns) 提供された String[] から Patterns SE を初期化します。 |
protected boolean | matches(StringSE pattern, int patternIndex) |
protected boolean | matchesExclusion(StringSE candidate, int patternIndex) |
equals, getExcludedPatterns, getPatterns, hashCode, matches, matchesPattern, setExcludedPattern, setExcludedPatterns, setPattern, setPatterns, toString
getClassFilter, getMethodMatcher, setClassFilter
isRuntime, matches
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
protected void initPatternRepresentation(StringSE[] patterns) throws PatternSyntaxExceptionSE
String[]
から Patterns
SE を初期化します。AbstractRegexpMethodPointcut
の initPatternRepresentation
patterns
- 初期化するパターン PatternSyntaxExceptionSE
protected void initExcludedPatternRepresentation(StringSE[] excludedPatterns) throws PatternSyntaxExceptionSE
String[]
からの除外 Patterns
SE を初期化します。AbstractRegexpMethodPointcut
の initExcludedPatternRepresentation
excludedPatterns
- 初期化するパターン PatternSyntaxExceptionSE
protected boolean matches(StringSE pattern, int patternIndex)
AbstractRegexpMethodPointcut
の matches
pattern
- 一致する String
パターン patternIndex
- パターンのインデックス (0 から)true
、それ以外の場合は false
protected boolean matchesExclusion(StringSE candidate, int patternIndex)
AbstractRegexpMethodPointcut
の matchesExclusion
candidate
- 一致する String
パターン patternIndex
- パターンのインデックス (0 から)true
、それ以外の場合は false