| Modifier and Type | Field and Description |
|---|---|
| private static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public Pointcut | |
| private Pointcut | |
| public static String | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| public Pointcut | |
| private Pointcut | |
| private Pointcut | |
| public 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 | |
| private Pointcut | |
| private Pointcut | |
| private Pointcut |
| WATCH_PROGRESS | back to summary |
|---|---|
| private static final boolean WATCH_PROGRESS | |
| PointcutRewriter | back to summary |
|---|---|
| public PointcutRewriter() | |
| collectAndNodes | back to summary |
|---|---|
| private void collectAndNodes(AndPointcut apc, Set<Pointcut> nodesSoFar) | |
| collectOrNodes | back to summary |
|---|---|
| private void collectOrNodes(Pointcut pc, Set<Pointcut> nodesSoFar) | |
| createAndsFor | back to summary |
|---|---|
| public Pointcut createAndsFor(Pointcut[] ps) Passed an array of pointcuts, returns an AND tree with them in. | |
| distributeNot | back to summary |
|---|---|
| private Pointcut distributeNot(Pointcut pc) | |
| format | back to summary |
|---|---|
| public static String format(Pointcut p) Allows formatting of the output pointcut for debugging... | |
| isAnd | back to summary |
|---|---|
| private boolean isAnd(Pointcut pc) | |
| isDNF | back to summary |
|---|---|
| private boolean isDNF(Pointcut pc) Check if a pointcut is in DNF - if it is then it should be lots of 'ORs' up the top with 'ANDs' beneath them. | |
| isDNFHelper | back to summary |
|---|---|
| private boolean isDNFHelper(Pointcut pc, boolean canStillHaveOrs) Helper function for determining DNFness. Records when we have crossed the point of allowing ORs. | |
| isNot | back to summary |
|---|---|
| private boolean isNot(Pointcut pc) | |
| isOr | back to summary |
|---|---|
| private boolean isOr(Pointcut pc) | |
| not | back to summary |
|---|---|
| public Pointcut not(Pointcut p) Returns a NOTted form of the pointcut p - we cope with already NOTted pointcuts. | |
| pullUpDisjunctions | back to summary |
|---|---|
| private Pointcut pullUpDisjunctions(Pointcut pc) | |
| removeNothings | back to summary |
|---|---|
| private Pointcut removeNothings(Pointcut pc) Removes MATCHES_NOTHING pointcuts | |
| rewrite | back to summary |
|---|---|
| public 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. See pr113257 | |
| rewrite | back to summary |
|---|---|
| public Pointcut rewrite(Pointcut pc) | |
| simplifyAnd | back to summary |
|---|---|
| private Pointcut simplifyAnd(AndPointcut apc) | |
| simplifyAnds | back to summary |
|---|---|
| private Pointcut simplifyAnds(Pointcut pc) | |
| sortOrs | back to summary |
|---|---|
| private Pointcut sortOrs(Pointcut pc) | |