public class PointcutRewriter
extends java.lang.Object
Constructor and Description |
---|
PointcutRewriter() |
Modifier and Type | Method and Description |
---|---|
Pointcut |
createAndsFor(Pointcut[] ps)
Passed an array of pointcuts, returns an AND tree with them in.
|
static java.lang.String |
format(Pointcut p)
Allows formatting of the output pointcut for debugging...
|
Pointcut |
not(Pointcut p)
Returns a NOTted form of the pointcut p - we cope with already NOTted pointcuts.
|
Pointcut |
rewrite(Pointcut pc) |
Pointcut |
rewrite(Pointcut pc,
boolean forceRewrite)
Set forcerewrite if you want to override the checking for something already in DNF (useful for some testing) Repeated
processing of something already in DNF is expensive (it ends up being done for every pointcut on every incremental compile) -
so let's not do it if we don't have to.
|
public Pointcut rewrite(Pointcut pc, boolean forceRewrite)
public static java.lang.String format(Pointcut p)
public Pointcut not(Pointcut p)