类 ShadowMatchUtils

java.lang.Object
infra.aop.aspectj.ShadowMatchUtils

public abstract class ShadowMatchUtils extends Object
Internal ShadowMatch utilities.
从以下版本开始:
5.0
作者:
Stephane Nicoll, Harry Yang
  • 字段详细资料

    • shadowMatchCache

      private static final Map<ShadowMatchUtils.Key,org.aspectj.weaver.tools.ShadowMatch> shadowMatchCache
  • 构造器详细资料

    • ShadowMatchUtils

      public ShadowMatchUtils()
  • 方法详细资料

    • clearCache

      public static void clearCache()
      Clear the cache of computed ShadowMatch instances.
    • getShadowMatch

      @Nullable static org.aspectj.weaver.tools.ShadowMatch getShadowMatch(ExpressionPointcut expression, Method method)
      Return the ShadowMatch for the specified ExpressionPointcut and Method or null if none is found.
      参数:
      expression - the expression
      method - the method
      返回:
      the ShadowMatch to use for the specified expression and method
    • setShadowMatch

      static org.aspectj.weaver.tools.ShadowMatch setShadowMatch(ExpressionPointcut expression, Method method, org.aspectj.weaver.tools.ShadowMatch shadowMatch)
      Associate the ShadowMatch to the specified ExpressionPointcut and method. If an entry already exists, the given shadowMatch is ignored.
      参数:
      expression - the expression
      method - the method
      shadowMatch - the shadow match to use for this expression and method if none already exists
      返回:
      the shadow match to use for the specified expression and method