diff options
author | aclement <aclement> | 2008-06-23 02:09:10 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-23 02:09:10 +0000 |
commit | 84adb23fdfd070a52b3a70561bf9eb31b240bab6 (patch) | |
tree | a8deacff6f41f195d960e20fff81f3c725d5f3fa /org.aspectj.ajdt.core | |
parent | d5fd87c305631713c32303864f2758e6c3bab151 (diff) | |
download | aspectj-84adb23fdfd070a52b3a70561bf9eb31b240bab6.tar.gz aspectj-84adb23fdfd070a52b3a70561bf9eb31b240bab6.zip |
PERFORMANCE: use forSignature() and not forName()
Diffstat (limited to 'org.aspectj.ajdt.core')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java index 272f14c80..8733a2404 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java @@ -317,8 +317,11 @@ public class EclipseFactory { } } - return UnresolvedType.forName(getName(binding)); + // was: UnresolvedType.forName(getName(binding)); + UnresolvedType ut = UnresolvedType.forSignature(new String(binding.signature())); + return ut; } + /** * Some type variables refer to themselves recursively, this enables us to avoid |