Sfoglia il codice sorgente

322446: parent type munger remembers declaring aspect

tags/V1_6_10RC1
aclement 14 anni fa
parent
commit
90b4071e61

+ 7
- 1
org.aspectj.matcher/src/org/aspectj/weaver/NewParentTypeMunger.java Vedi File

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

Loading…
Annulla
Salva