]> source.dussan.org Git - aspectj.git/commitdiff
declareMixin
authoraclement <aclement>
Thu, 5 Mar 2009 22:54:07 +0000 (22:54 +0000)
committeraclement <aclement>
Thu, 5 Mar 2009 22:54:07 +0000 (22:54 +0000)
weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java

index e77ef93135a2fe12d98cef204794364c861f8cf3..3743afa330683231818ba3eb80b31815f03e33fd 100644 (file)
@@ -63,6 +63,7 @@ import org.aspectj.weaver.World;
 import org.aspectj.weaver.patterns.Bindings;
 import org.aspectj.weaver.patterns.DeclareErrorOrWarning;
 import org.aspectj.weaver.patterns.DeclareParents;
+import org.aspectj.weaver.patterns.DeclareParentsMixin;
 import org.aspectj.weaver.patterns.DeclarePrecedence;
 import org.aspectj.weaver.patterns.FormalBinding;
 import org.aspectj.weaver.patterns.IScope;
@@ -937,7 +938,7 @@ public class AtAjAttributes {
                IScope binding = new BindingScope(struct.enclosingType, struct.context, bindings);
                // first add the declare implements like
                // how do we mark this as a decp due to decmixin?
-               DeclareParents dp = new DeclareParents(targetTypePattern, newParents, false);
+               DeclareParents dp = new DeclareParentsMixin(targetTypePattern, newParents);
                dp.resolve(binding); // resolves the parent and child parts
                // of the decp