public abstract class DynamicMethodMatcher extends java.lang.Object implements MethodMatcher
TRUE| コンストラクターと説明 |
|---|
DynamicMethodMatcher() |
| 修飾子と型 | メソッドと説明 |
|---|---|
boolean | isRuntime() この MethodMatcher は動的ですか、つまり、2-arg matches メソッドが true を返す場合でも、実行時に MethodMatcher.matches(java.lang.reflect.Method, Class, Object[]) メソッドで最後の呼び出しを行う必要がありますか? |
boolean | matches(java.lang.reflect.Method method, java.lang.Class<?> targetClass) オーバーライドして、動的マッチングの前提条件を追加できます。 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchespublic final boolean isRuntime()
MethodMatchertrue を返す場合でも、実行時に MethodMatcher.matches(java.lang.reflect.Method, Class, Object[]) メソッドで最後の呼び出しを行う必要がありますか? AOP プロキシの作成時に呼び出すことができ、各メソッド呼び出しの前に再度呼び出す必要はありません。
MethodMatcher 内の isRuntime MethodMatcher.matches(java.lang.reflect.Method, Class, Object[]) メソッドによる実行時一致が必要かどうか public boolean matches(java.lang.reflect.Method method,
java.lang.Class<?> targetClass)MethodMatcher 内の matches method - 候補メソッド targetClass - ターゲットクラス