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