diff options
author | aclement <aclement> | 2005-08-22 16:56:39 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-08-22 16:56:39 +0000 |
commit | 48ae5799c640e4429c4458f189fe35e08065ca7e (patch) | |
tree | 922fd1f28515d500ea5a270351cd2bb63b3a02e4 /org.aspectj.ajdt.core | |
parent | f3bc92fd305f90232a45f9e9301763c7d8f76e83 (diff) | |
download | aspectj-48ae5799c640e4429c4458f189fe35e08065ca7e.tar.gz aspectj-48ae5799c640e4429c4458f189fe35e08065ca7e.zip |
genericitds: simplified!! doesnt need to tell member finder the munger sets
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseTypeMunger.java | 16 |
1 files changed, 7 insertions, 9 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 7b01e8dee..038d92d22 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 @@ -16,18 +16,16 @@ package org.aspectj.ajdt.internal.compiler.lookup; import java.lang.reflect.Modifier; import org.aspectj.bridge.ISourceLocation; +import org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration; +import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.FieldBinding; +import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding; +import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding; import org.aspectj.weaver.ConcreteTypeMunger; import org.aspectj.weaver.NewConstructorTypeMunger; import org.aspectj.weaver.NewFieldTypeMunger; import org.aspectj.weaver.NewMethodTypeMunger; -import org.aspectj.weaver.ResolvedTypeMunger; import org.aspectj.weaver.ResolvedType; -//import org.aspectj.weaver.TypeX; -import org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration; -import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.FieldBinding; -import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding; -//import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding; -import org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding; +import org.aspectj.weaver.ResolvedTypeMunger; public class EclipseTypeMunger extends ConcreteTypeMunger { @@ -121,12 +119,12 @@ 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,munger); + findOrCreateInterTypeMemberFinder(sourceType).addInterTypeField(binding); //classScope.referenceContext.binding.addField(binding); } else { InterTypeFieldBinding binding = new InterTypeFieldBinding(world, munger.getSignature(), aspectType, sourceMethod); - findOrCreateInterTypeMemberFinder(sourceType).addInterTypeField(binding,munger); + findOrCreateInterTypeMemberFinder(sourceType).addInterTypeField(binding); } } |