aboutsummaryrefslogtreecommitdiffstats
path: root/org.aspectj.ajdt.core
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-23 02:09:10 +0000
committeraclement <aclement>2008-06-23 02:09:10 +0000
commit84adb23fdfd070a52b3a70561bf9eb31b240bab6 (patch)
treea8deacff6f41f195d960e20fff81f3c725d5f3fa /org.aspectj.ajdt.core
parentd5fd87c305631713c32303864f2758e6c3bab151 (diff)
downloadaspectj-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.java5
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