接口的使用
infra.aop.ClassFilter
使用ClassFilter的程序包
程序包
说明
Aspect Programming
AspectJ integration package.
-
infra.aop中ClassFilter的使用
实现ClassFilter的infra.aop中的类修饰符和类型类说明static classClassFilter implementation for an intersection of the given ClassFilter.static classClassFilter implementation for a logical negation of the given ClassFilter.static classClassFilter implementation for a union of the given ClassFilter.(专用程序包) final classCanonical ClassFilter instance that matches all classes.声明为ClassFilter的infra.aop中的字段修饰符和类型字段说明private final ClassFilterMethodMatcher.ClassFilterAwareUnionMethodMatcher.cf1private final ClassFilterMethodMatcher.ClassFilterAwareUnionMethodMatcher.cf2private final ClassFilter[]ClassFilter.IntersectionClassFilter.filtersprivate final ClassFilter[]ClassFilter.UnionClassFilter.filtersprivate final ClassFilterClassFilter.NegateClassFilter.originalstatic final ClassFilterClassFilter.TRUECanonical instance of a ClassFilter that matches all classes.返回ClassFilter的infra.aop中的方法修饰符和类型方法说明IntroductionAdvisor.getClassFilter()Return the filter determining which target classes this introduction should apply to.Pointcut.getClassFilter()Return the ClassFilter for this pointcut.TruePointcut.getClassFilter()static ClassFilterClassFilter.intersection(ClassFilter[] classFilters) Match all classes that all of the given ClassFilters match.static ClassFilterClassFilter.intersection(ClassFilter cf1, ClassFilter cf2) Match all classes that both of the given ClassFilters match.static ClassFilterClassFilter.negate(ClassFilter classFilter) Return a class filter that represents the logical negation of the specified filter instance.static ClassFilterClassFilter.union(ClassFilter[] classFilters) Match all classes that either (or all) of the given ClassFilters matches.static ClassFilterClassFilter.union(ClassFilter cf1, ClassFilter cf2) Match all classes that either (or both) of the given ClassFilters matches.参数类型为ClassFilter的infra.aop中的方法修饰符和类型方法说明static ClassFilterClassFilter.intersection(ClassFilter[] classFilters) Match all classes that all of the given ClassFilters match.static ClassFilterClassFilter.intersection(ClassFilter cf1, ClassFilter cf2) Match all classes that both of the given ClassFilters match.static ClassFilterClassFilter.negate(ClassFilter classFilter) Return a class filter that represents the logical negation of the specified filter instance.static ClassFilterClassFilter.union(ClassFilter[] classFilters) Match all classes that either (or all) of the given ClassFilters matches.static ClassFilterClassFilter.union(ClassFilter cf1, ClassFilter cf2) Match all classes that either (or both) of the given ClassFilters matches.static MethodMatcherMethodMatcher.union(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) Match all methods that either (or both) of the given MethodMatchers matches.参数类型为ClassFilter的infra.aop中的构造器限定符构造器说明privateClassFilterAwareUnionIntroductionAwareMethodMatcher(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) privateClassFilterAwareUnionMethodMatcher(MethodMatcher mm1, ClassFilter cf1, MethodMatcher mm2, ClassFilter cf2) privateIntersectionClassFilter(ClassFilter[] filters) privateNegateClassFilter(ClassFilter original) privateUnionClassFilter(ClassFilter[] filters) -
infra.aop.aspectj中ClassFilter的使用
修饰符和类型类说明classFrameworkPointcutimplementation that uses the AspectJ weaver to evaluate a pointcut expression.classFramework AOPClassFilterimplementation using AspectJ type matching.声明为ClassFilter的infra.aop.aspectj中的字段返回ClassFilter的infra.aop.aspectj中的方法 -
infra.aop.support中ClassFilter的使用
修饰符和类型类说明classPointcut and method matcher for use in simple cflow-style pointcut.classSimpleIntroductionAdvisorimplementation that by default applies to any class.classSimple ClassFilter implementation that passes classes (and optionally subclasses).声明为ClassFilter的infra.aop.support中的字段修饰符和类型字段说明private ClassFilterComposablePointcut.classFilterprivate ClassFilterStaticMethodMatcherPointcut.classFilter返回ClassFilter的infra.aop.support中的方法修饰符和类型方法说明ComposablePointcut.getClassFilter()ControlFlowPointcut.getClassFilter()DefaultIntroductionAdvisor.getClassFilter()DynamicMethodMatcherPointcut.getClassFilter()StaticMethodMatcherPointcut.getClassFilter()参数类型为ClassFilter的infra.aop.support中的方法修饰符和类型方法说明ComposablePointcut.intersection(ClassFilter other) Apply an intersection with the given ClassFilter.voidNameMatchMethodPointcutAdvisor.setClassFilter(ClassFilter classFilter) Set theClassFilterto use for this pointcut.voidStaticMethodMatcherPointcut.setClassFilter(ClassFilter classFilter) Set theClassFilterto use for this pointcut.ComposablePointcut.union(ClassFilter other) Apply a union with the given ClassFilter.参数类型为ClassFilter的infra.aop.support中的构造器限定符构造器说明ComposablePointcut(ClassFilter classFilter) Create a ComposablePointcut for the given ClassFilter, withMethodMatcher.TRUE.ComposablePointcut(ClassFilter classFilter, MethodMatcher methodMatcher) Create a ComposablePointcut for the given ClassFilter and MethodMatcher. -
infra.aop.support.annotation中ClassFilter的使用
修饰符和类型类说明classSimple ClassFilter that looks for a specific Java 5 annotation being present on a class.private static final recordClassFilterthat delegates toAnnotationUtils.isCandidateClass(java.lang.Class<?>, java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>>)for filtering classes whose methods are not worth searching to begin with.