]> source.dussan.org Git - aspectj.git/commitdiff
enh 76055 -
authoracolyer <acolyer>
Wed, 23 Mar 2005 13:45:09 +0000 (13:45 +0000)
committeracolyer <acolyer>
Wed, 23 Mar 2005 13:45:09 +0000 (13:45 +0000)
   Some Pointcut PatternNodes are missing getters to traverse syntax tree

weaver/src/org/aspectj/weaver/patterns/CflowPointcut.java
weaver/src/org/aspectj/weaver/patterns/IfPointcut.java

index b8d1348f793b53cfd74f03a7c424e997ee9a6564..f6133bc71dc47636ee1650831b1145d9d3972281 100644 (file)
@@ -72,6 +72,11 @@ public class CflowPointcut extends Pointcut {
                return Shadow.ALL_SHADOW_KINDS;
        }
        
+       // enh 76055
+       public Pointcut getEntry() {
+               return entry; 
+       }
+       
     public FuzzyBoolean fastMatch(FastMatchInfo type) {
                return FuzzyBoolean.MAYBE;
        }
index b15d81a39d86090c66767ddd555ee742095882ab..c7b3e02b0c8d112e0d833d16176a64717cc86f40 100644 (file)
@@ -77,6 +77,11 @@ public class IfPointcut extends Pointcut {
                return false;
        }
        
+       // enh 76055
+       public Pointcut getResidueSource() {
+               return residueSource;
+       }
+       
        /* (non-Javadoc)
         * @see org.aspectj.weaver.patterns.Pointcut#matchesDynamically(java.lang.Object, java.lang.Object, java.lang.Object[])
         */