]> source.dussan.org Git - aspectj.git/commitdiff
153380: fix: annotations and pipelining: don't use BcelTypeMunger
authoraclement <aclement>
Mon, 24 Mar 2008 21:15:35 +0000 (21:15 +0000)
committeraclement <aclement>
Mon, 24 Mar 2008 21:15:35 +0000 (21:15 +0000)
weaver/src/org/aspectj/weaver/patterns/SignaturePattern.java

index 620a53c1d8d470fa0ec82f32cafc7783a4b68923..061e8b65239a162d77d4abdf5d6ce721a9679533 100644 (file)
@@ -32,6 +32,7 @@ import org.aspectj.util.FuzzyBoolean;
 import org.aspectj.weaver.AjAttribute;
 import org.aspectj.weaver.AjcMemberMaker;
 import org.aspectj.weaver.AnnotationTargetKind;
+import org.aspectj.weaver.ConcreteTypeMunger;
 import org.aspectj.weaver.Constants;
 import org.aspectj.weaver.ISourceContext;
 import org.aspectj.weaver.JoinPointSignature;
@@ -43,7 +44,6 @@ import org.aspectj.weaver.ResolvedType;
 import org.aspectj.weaver.UnresolvedType;
 import org.aspectj.weaver.VersionedDataInputStream;
 import org.aspectj.weaver.World;
-import org.aspectj.weaver.bcel.BcelTypeMunger;
 
 
 public class SignaturePattern extends PatternNode {
@@ -499,7 +499,7 @@ public class SignaturePattern extends PatternNode {
            ResolvedMember [] mems = member.getDeclaringType().resolve(world).getDeclaredFields(); // FIXME asc should include supers with getInterTypeMungersIncludingSupers?
            List mungers = member.getDeclaringType().resolve(world).getInterTypeMungers(); 
                for (Iterator iter = mungers.iterator(); iter.hasNext();) {
-               BcelTypeMunger typeMunger = (BcelTypeMunger) iter.next();
+               ConcreteTypeMunger typeMunger = (ConcreteTypeMunger) iter.next();
                        if (typeMunger.getMunger() instanceof NewFieldTypeMunger) {
                          ResolvedMember fakerm = typeMunger.getSignature();
                          ResolvedMember ajcMethod = AjcMemberMaker.interFieldInitializer(fakerm,typeMunger.getAspectType());