typecode is final

getTypeClass


git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@521 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 5d809f4d7d
commit 6b262c4658
  1. 5
      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()+"[]";
}

Loading…
Cancel
Save