diff options
author | aclement <aclement> | 2005-08-12 10:59:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-08-12 10:59:11 +0000 |
commit | 2aca78085a4c51c98e7dfc2edadecdb5368a316f (patch) | |
tree | 3aea1a65e2725ad434d906d4e5da22019b96f02f /org.aspectj.ajdt.core | |
parent | 1ac97b7692fe627eecfe987d31e1bb418487c3c9 (diff) | |
download | aspectj-2aca78085a4c51c98e7dfc2edadecdb5368a316f.tar.gz aspectj-2aca78085a4c51c98e7dfc2edadecdb5368a316f.zip |
genericitds: tells the member finder to remember the munger so it can correctly replace type variable refs for a target type.
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseTypeMunger.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseTypeMunger.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseTypeMunger.java index b17d21a3a..7b01e8dee 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseTypeMunger.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseTypeMunger.java @@ -116,16 +116,17 @@ public class EclipseTypeMunger extends ConcreteTypeMunger { } } + private void mungeNewField(SourceTypeBinding sourceType, NewFieldTypeMunger munger) { if (shouldTreatAsPublic() && !targetTypeX.isInterface()) { FieldBinding binding = world.makeFieldBinding(munger.getSignature()); - findOrCreateInterTypeMemberFinder(sourceType).addInterTypeField(binding); + findOrCreateInterTypeMemberFinder(sourceType).addInterTypeField(binding,munger); //classScope.referenceContext.binding.addField(binding); } else { InterTypeFieldBinding binding = new InterTypeFieldBinding(world, munger.getSignature(), aspectType, sourceMethod); - findOrCreateInterTypeMemberFinder(sourceType).addInterTypeField(binding); + findOrCreateInterTypeMemberFinder(sourceType).addInterTypeField(binding,munger); } } |