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