From e5edd8337f071e6a047148d48ed6ab97ab2cf902 Mon Sep 17 00:00:00 2001 From: acolyer Date: Fri, 8 Jul 2005 13:25:02 +0000 Subject: [PATCH] create a typeX from a set of TypeX parameters --- weaver/src/org/aspectj/weaver/TypeX.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weaver/src/org/aspectj/weaver/TypeX.java b/weaver/src/org/aspectj/weaver/TypeX.java index 630b24fad..b0b5509e8 100644 --- a/weaver/src/org/aspectj/weaver/TypeX.java +++ b/weaver/src/org/aspectj/weaver/TypeX.java @@ -250,11 +250,11 @@ public class TypeX implements AnnotatedElement { paramTypes[i] = TypeX.forName(paramTypeNames[i]); } } - return TypeX.forParameterizedTypes(name, paramTypes); + return TypeX.forParameterizedTypes(TypeX.forName(name), paramTypes); } - public static TypeX forParameterizedTypes(String name, TypeX[] paramTypes) { - TypeX ret = TypeX.forName(name); + public static TypeX forParameterizedTypes(TypeX rawType, TypeX[] paramTypes) { + TypeX ret = rawType; ret.typeKind=PARAMETERIZED; ret.typeParameters = paramTypes; ret.rawTypeSignature = ret.signature; -- 2.39.5