From b0f270ee1090daf7b5aec3b534b98d28955f77bd Mon Sep 17 00:00:00 2001 From: acolyer Date: Wed, 23 Mar 2005 13:45:09 +0000 Subject: [PATCH] enh 76055 - Some Pointcut PatternNodes are missing getters to traverse syntax tree --- weaver/src/org/aspectj/weaver/patterns/CflowPointcut.java | 5 +++++ weaver/src/org/aspectj/weaver/patterns/IfPointcut.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/weaver/src/org/aspectj/weaver/patterns/CflowPointcut.java b/weaver/src/org/aspectj/weaver/patterns/CflowPointcut.java index b8d1348f7..f6133bc71 100644 --- a/weaver/src/org/aspectj/weaver/patterns/CflowPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/CflowPointcut.java @@ -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; } diff --git a/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java b/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java index b15d81a39..c7b3e02b0 100644 --- a/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/IfPointcut.java @@ -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[]) */ -- 2.39.5