aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2010-08-13 15:43:58 +0000
committeraclement <aclement>2010-08-13 15:43:58 +0000
commit90b4071e6152377e85bd8fd47a9afee08a26c81c (patch)
tree8db316865b4ab21617e20cfe9914f5dd94268109 /org.aspectj.matcher
parent75e49e9ae3c50f2ab1d267e742939ac3718479f2 (diff)
downloadaspectj-90b4071e6152377e85bd8fd47a9afee08a26c81c.tar.gz
aspectj-90b4071e6152377e85bd8fd47a9afee08a26c81c.zip
322446: parent type munger remembers declaring aspect
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/NewParentTypeMunger.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/NewParentTypeMunger.java b/org.aspectj.matcher/src/org/aspectj/weaver/NewParentTypeMunger.java
index ebb419f5b..cb3110073 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/NewParentTypeMunger.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/NewParentTypeMunger.java
@@ -16,11 +16,13 @@ import java.io.IOException;
public class NewParentTypeMunger extends ResolvedTypeMunger {
ResolvedType newParent;
+ ResolvedType declaringType;
private boolean isMixin;
- public NewParentTypeMunger(ResolvedType newParent) {
+ public NewParentTypeMunger(ResolvedType newParent, ResolvedType declaringType) {
super(Parent, null);
this.newParent = newParent;
+ this.declaringType = declaringType;
this.isMixin = false;
}
@@ -52,6 +54,10 @@ public class NewParentTypeMunger extends ResolvedTypeMunger {
return hashCode;
}
+ public ResolvedType getDeclaringType() {
+ return declaringType;
+ }
+
public void setIsMixin(boolean b) {
isMixin = true;
}