|
|
@ -39,7 +39,6 @@ public class ArrayType extends ReferenceType { |
|
|
|
|
|
|
|
|
|
|
|
public ArrayType(Type elementType) { |
|
|
|
public ArrayType(Type elementType) { |
|
|
|
super(TC_ARRAY); |
|
|
|
super(TC_ARRAY); |
|
|
|
typecode = TC_ARRAY; |
|
|
|
|
|
|
|
this.elementType = elementType; |
|
|
|
this.elementType = elementType; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -222,6 +221,10 @@ public class ArrayType extends ReferenceType { |
|
|
|
return "["+elementType.getTypeSignature(); |
|
|
|
return "["+elementType.getTypeSignature(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Class getTypeClass() throws ClassNotFoundException { |
|
|
|
|
|
|
|
return Class.forName("["+elementType.getTypeSignature()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String toString() { |
|
|
|
public String toString() { |
|
|
|
return elementType.toString()+"[]"; |
|
|
|
return elementType.toString()+"[]"; |
|
|
|
} |
|
|
|
} |
|
|
|