From 4c97a01e0f928e83f80f6aa961afd4a9e1ec74b4 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 5 Mar 2009 22:54:08 +0000 Subject: [PATCH] declareMixin --- .../compiler/lookup/AjLookupEnvironment.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java index a467c1f6f..0bca3ad26 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java @@ -628,12 +628,14 @@ public class AjLookupEnvironment extends LookupEnvironment implements AnonymousC // annotation patterns then they might match later...remember that... for (Iterator i = declareParents.iterator(); i.hasNext();) { DeclareParents decp = (DeclareParents) i.next(); - boolean didSomething = doDeclareParents(decp, sourceType); - if (didSomething) { - anyNewParents = true; - } else { - if (!decp.getChild().isStarAnnotation()) - decpToRepeat.add(decp); + if (!decp.isMixin()) { + boolean didSomething = doDeclareParents(decp, sourceType); + if (didSomething) { + anyNewParents = true; + } else { + if (!decp.getChild().isStarAnnotation()) + decpToRepeat.add(decp); + } } } -- 2.39.5