From: acolyer Date: Fri, 8 Jul 2005 13:25:02 +0000 (+0000) Subject: create a typeX from a set of TypeX parameters X-Git-Tag: PRE_ANDY~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e5edd8337f071e6a047148d48ed6ab97ab2cf902;p=aspectj.git create a typeX from a set of TypeX parameters --- 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;