public class AnnotationMatchingPointcut extends ObjectSE implements Pointcut
AnnotationClassFilter
, AnnotationMethodMatcher
コンストラクターと説明 |
---|
AnnotationMatchingPointcut(ClassSE<? extends AnnotationSE> classAnnotationType) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。 |
AnnotationMatchingPointcut(ClassSE<? extends AnnotationSE> classAnnotationType, boolean checkInherited) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。 |
AnnotationMatchingPointcut(ClassSE<? extends AnnotationSE> classAnnotationType, ClassSE<? extends AnnotationSE> methodAnnotationType) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。 |
AnnotationMatchingPointcut(ClassSE<? extends AnnotationSE> classAnnotationType, ClassSE<? extends AnnotationSE> methodAnnotationType, boolean checkInherited) 指定されたアノテーション型の新しい AnnotationMatchingPointcut を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
boolean | equals(ObjectSE other) |
static AnnotationMatchingPointcut | forClassAnnotation(ClassSE<? extends AnnotationSE> annotationType) クラスレベルで指定されたアノテーションと一致する AnnotationMatchingPointcut のファクトリメソッド。 |
static AnnotationMatchingPointcut | forMethodAnnotation(ClassSE<? extends AnnotationSE> annotationType) メソッドレベルで指定されたアノテーションに一致する AnnotationMatchingPointcut のファクトリメソッド。 |
ClassFilter | getClassFilter() このポイントカットの ClassFilter を返します。 |
MethodMatcher | getMethodMatcher() このポイントカットの MethodMatcher を返します。 |
int | hashCode() |
StringSE | toString() |
cloneSE, finalizeSE, getClassSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public AnnotationMatchingPointcut(ClassSE<? extends AnnotationSE> classAnnotationType)
classAnnotationType
- クラスレベルで検索するアノテーション型 public AnnotationMatchingPointcut(ClassSE<? extends AnnotationSE> classAnnotationType, boolean checkInherited)
classAnnotationType
- クラスレベルで検索するアノテーション型 checkInherited
- スーパークラスとインターフェース、およびアノテーション型のメタアノテーションもチェックするかどうか AnnotationClassFilter(Class, boolean)
public AnnotationMatchingPointcut(@Nullable ClassSE<? extends AnnotationSE> classAnnotationType, @Nullable ClassSE<? extends AnnotationSE> methodAnnotationType)
classAnnotationType
- クラスレベルで検索するアノテーション型 (null
にすることができます)methodAnnotationType
- メソッドレベルで検索するアノテーション型 (null
にすることができます)public AnnotationMatchingPointcut(@Nullable ClassSE<? extends AnnotationSE> classAnnotationType, @Nullable ClassSE<? extends AnnotationSE> methodAnnotationType, boolean checkInherited)
classAnnotationType
- クラスレベルで検索するアノテーション型 (null
にすることができます)methodAnnotationType
- メソッドレベルで検索するアノテーション型 (null
にすることができます)checkInherited
- スーパークラスとインターフェース、およびアノテーション型のメタアノテーションもチェックするかどうか AnnotationClassFilter(Class, boolean)
, AnnotationMethodMatcher(Class, boolean)
public ClassFilter getClassFilter()
Pointcut
Pointcut
の getClassFilter
null
)public MethodMatcher getMethodMatcher()
Pointcut
Pointcut
の getMethodMatcher
null
)public int hashCode()
ObjectSE
の hashCodeSE
public StringSE toString()
ObjectSE
の toStringSE
public static AnnotationMatchingPointcut forClassAnnotation(ClassSE<? extends AnnotationSE> annotationType)
annotationType
- クラスレベルで検索するアノテーション型 public static AnnotationMatchingPointcut forMethodAnnotation(ClassSE<? extends AnnotationSE> annotationType)
annotationType
- メソッドレベルで検索するアノテーション型