public interface IntroductionAwareMethodMatcher extends MethodMatcher
MethodMatcher
。ターゲットクラスに導入がない場合、たとえば、メソッドマッチャーはマッチングをより効果的に最適化できる場合があります。TRUE
修飾子と型 | メソッドと説明 |
---|---|
boolean | matches(java.lang.reflect.Method method, java.lang.Class<?> targetClass, boolean hasIntroductions) 指定されたメソッドが一致するかどうか静的チェックを実行します。 |
isRuntime, matches, matches
boolean matches(java.lang.reflect.Method method, java.lang.Class<?> targetClass, boolean hasIntroductions)
MethodMatcher.matches(java.lang.reflect.Method, Class)
メソッドの代わりにこれを呼び出すことができます。method
- 候補メソッド targetClass
- ターゲットクラス hasIntroductions
- true
は、代わりに求めているオブジェクトが 1 つ以上の導入のサブジェクトである場合。それ以外の場合は false