String function ( String arg0 ) { int loc0 = arg0 . indexOf ( '<' ) ; if ( loc0 < 0 ) return arg0 ; int loc1 = arg0 . lastIndexOf ( '>' ) ; if ( loc1 < 0 ) { System . err . println ( "srini_string" + arg0 ) ; return arg0 ; } return arg0 . substring ( 0 , loc0 ) + arg0 . substring ( loc1 + 1 ) ; }
strips out everything between '' . this will handle nested brackets , but we 're not expecting to see multiple instances in series i.e. '' < foo < bar > > '' is expected , but '' < foo > stuff < bar > is not . concode_field_sep HashMap<String,String> sQuickConvert concode_field_sep String simpleClassNameToBinary concode_elem_sep String classNameOnly concode_elem_sep String typeToDescriptor concode_elem_sep String ambiguousToBinaryName concode_elem_sep String packageNameOnly concode_elem_sep void TypeUtils