类 ShadowMatchUtils
java.lang.Object
infra.aop.aspectj.ShadowMatchUtils
Internal
ShadowMatch utilities.- 从以下版本开始:
- 5.0
- 作者:
- Stephane Nicoll, Harry Yang
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static voidClear the cache of computedShadowMatchinstances.(专用程序包) static org.aspectj.weaver.tools.ShadowMatchgetShadowMatch(ExpressionPointcut expression, Method method) (专用程序包) static org.aspectj.weaver.tools.ShadowMatchsetShadowMatch(ExpressionPointcut expression, Method method, org.aspectj.weaver.tools.ShadowMatch shadowMatch) Associate theShadowMatchto the specifiedExpressionPointcutand method.
-
字段详细资料
-
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 computedShadowMatchinstances. -
getShadowMatch
@Nullable static org.aspectj.weaver.tools.ShadowMatch getShadowMatch(ExpressionPointcut expression, Method method) - 参数:
expression- the expressionmethod- the method- 返回:
- the
ShadowMatchto 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 theShadowMatchto the specifiedExpressionPointcutand method. If an entry already exists, the givenshadowMatchis ignored.- 参数:
expression- the expressionmethod- the methodshadowMatch- 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
-