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;
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