public static String arrayType ( String type ) { if ( isArray ( type ) ) if ( type . length ( ) == arrayDimSize ( type ) + 1 ) { return type ; } else { String ans = "Ljava/lang/Object;" ; for ( int j = 0 ; j < arrayDimSize ( type ) ; j ++ ) { ans = "[" + ans ; } return ans ; } return null ; }
Can only be used with internal names i . e . after [ has been prefix