summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weaver/src/org/aspectj/weaver/TypeX.java6
1 files 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;