]> source.dussan.org Git - aspectj.git/commitdiff
Don't report unimportant relationships (e.g. perobject)
authoraclement <aclement>
Thu, 24 Mar 2005 15:17:10 +0000 (15:17 +0000)
committeraclement <aclement>
Thu, 24 Mar 2005 15:17:10 +0000 (15:17 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelTypeMunger.java

index 61df9e1619f5a584040f340749f5755852afb944..345ff9cc0b3de3dcc344212ad8bd178468393c3a 100644 (file)
@@ -101,7 +101,7 @@ public class BcelTypeMunger extends ConcreteTypeMunger {
                // Whilst type mungers aren't persisting their source locations, we add this relationship during
                // compilation time (see other reference to ResolvedTypeMunger.persist)
                if (ResolvedTypeMunger.persistSourceLocation) {
-                       if (changed) {
+                       if (changed && worthReporting) {
                                if (munger.getKind().equals(ResolvedTypeMunger.Parent)) {
                                  AsmRelationshipProvider.getDefault().addRelationship(weaver.getLazyClassGen().getType(), munger,getAspectType());
                                } else {