aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2009-03-05 22:54:08 +0000
committeraclement <aclement>2009-03-05 22:54:08 +0000
commit4c97a01e0f928e83f80f6aa961afd4a9e1ec74b4 (patch)
tree07ccfeda7d3bc76cf58edd73774eac1998d4eb52 /org.aspectj.ajdt.core
parent5afb1af30a356bd104579d9ca4120d68fec591c0 (diff)
downloadaspectj-4c97a01e0f928e83f80f6aa961afd4a9e1ec74b4.tar.gz
aspectj-4c97a01e0f928e83f80f6aa961afd4a9e1ec74b4.zip
declareMixin
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java14
1 files 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);
+ }
}
}