From 84adb23fdfd070a52b3a70561bf9eb31b240bab6 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 23 Jun 2008 02:09:10 +0000 Subject: [PATCH] PERFORMANCE: use forSignature() and not forName() --- .../ajdt/internal/compiler/lookup/EclipseFactory.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5