类 AnnotationMethodMatcher
java.lang.Object
cn.taketoday.core.OrderedSupport
cn.taketoday.aop.support.StaticMethodMatcher
cn.taketoday.aop.support.annotation.AnnotationMethodMatcher
- 所有已实现的接口:
MethodMatcher,Ordered
Simple MethodMatcher that looks for a specific Java 5 annotation
being present on a method (checking both the method on the invoked
interface, if any, and the corresponding method on the target class).
- 从以下版本开始:
- 3.0
- 作者:
- Juergen Hoeller, Sam Brannen, TODAY 2021/2/2 13:00
- 另请参阅:
-
字段概要
从类继承的字段 cn.taketoday.core.OrderedSupport
order从接口继承的字段 cn.taketoday.aop.MethodMatcher
TRUE从接口继承的字段 cn.taketoday.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器构造器说明AnnotationMethodMatcher(Class<? extends Annotation> annotationType) Create a new AnnotationClassFilter for the given annotation type.AnnotationMethodMatcher(Class<? extends Annotation> annotationType, boolean checkInherited) Create a new AnnotationClassFilter for the given annotation type. -
方法概要
从类继承的方法 cn.taketoday.aop.support.StaticMethodMatcher
isRuntime, matches从类继承的方法 cn.taketoday.core.OrderedSupport
getOrder, setOrder
-
构造器详细资料
-
AnnotationMethodMatcher
Create a new AnnotationClassFilter for the given annotation type.- 参数:
annotationType- the annotation type to look for
-
AnnotationMethodMatcher
Create a new AnnotationClassFilter for the given annotation type.- 参数:
annotationType- the annotation type to look forcheckInherited- whether to also check the superclasses and interfaces as well as meta-annotations for the annotation type (i.e. whether to useAnnotatedElementUtils.hasAnnotation(AnnotatedElement, Class)semantics instead of standard JavaAccessibleObject.isAnnotationPresent(java.lang.Class<? extends java.lang.annotation.Annotation>))
-
-
方法详细资料
-
matches
从接口复制的说明:MethodMatcherChecking whether the given method matches.- 参数:
method- the candidate methodtargetClass- the target class- 返回:
- whether or not this method matches on application startup.
-
equals
-
hashCode
public int hashCode() -
toString
-