diff --git a/jode/jode/type/ArrayType.java b/jode/jode/type/ArrayType.java index 2567438..324b271 100644 --- a/jode/jode/type/ArrayType.java +++ b/jode/jode/type/ArrayType.java @@ -39,7 +39,6 @@ public class ArrayType extends ReferenceType { public ArrayType(Type elementType) { super(TC_ARRAY); - typecode = TC_ARRAY; this.elementType = elementType; } @@ -222,6 +221,10 @@ public class ArrayType extends ReferenceType { return "["+elementType.getTypeSignature(); } + public Class getTypeClass() throws ClassNotFoundException { + return Class.forName("["+elementType.getTypeSignature()); + } + public String toString() { return elementType.toString()+"[]"; }