question: private static ClassInfo findOrCreateClass ( String t ) { if ( ! t . endsWith ( "[]" ) ) { return ClassInfo . findOrCreateClass ( t ) ; } else { String baseType = t . substring ( 0 , t . indexOf ( "[]" ) ) ; int level = ( t . length ( ) - t . indexOf ( "[]" ) ) / 2 ; String s = "" ; for ( int i = 0 ; i < level ; ++ i ) s += "[" ; if ( baseType . equals ( "int" ) ) s += "I" ; else if ( baseType . equals ( "boolean" ) ) s += "B" ; else s += "L" + baseType + ";" ; return ClassInfo . findOrCreateClass ( s ) ; } }
target:  Convert PSCout-style type name to canonical form