private static String toProperClassName( String className ) { className = StringUtils.deleteWhitespace( className ); if( className == null ) { throw new NullArgumentException( "className" ); } else if( className.endsWith( "[]" ) ) { final StringBuffer classNameBuffer = new StringBuffer(); while( className.endsWith( "[]" ) ) { className = className.substring( 0, className.length() - 2 ); classNameBuffer.append( "[" );
private static String toProperClassName(String className) { className = StringUtils.deleteWhitespace(className); if (className == null) { throw new NullArgumentException("className"); } else if (className.endsWith("[]")) { StringBuffer classNameBuffer = new StringBuffer(); while (className.endsWith("[]")) { className = className.substring(0, className.length() - 2); classNameBuffer.append("[");
    private static String toProperClassName( String className ) {        className = StringUtils.deleteWhitespace( className );        if( className == null ) {            throw new NullArgumentException( "className" );        }        else if( className.endsWith( "[]" ) ) {            final StringBuffer classNameBuffer = new StringBuffer();            while( className.endsWith( "[]" ) ) {                className = className.substring( 0, className.length() - 2 );                classNameBuffer.append( "[" );            }            final String abbreviation = ( String ) abbreviationMap.get( className );            if( abbreviation != null ) {                classNameBuffer.append( abbreviation );            }            else {                classNameBuffer.append( "L" ).append( className ).append( ";" );            }            className = classNameBuffer.toString();        }        return className;    }