public static Type getObjectType(final String internalName) {
        char[] buf = internalName.toCharArray();
        return new Type(buf[0] == '[' ? ARRAY : OBJECT, buf, 0, buf.length);
    }
public static Type getObjectType(final String internalName) {
        char[] buf = internalName.toCharArray();
        return new Type(buf[0] == '[' ? ARRAY : OBJECT, buf, 0, buf.length);
    }
public static Type getObjectType ( final String internalName ) { char [ ] buf = internalName . toCharArray ( ) ; return new Type ( buf [ 0 ] == ' ' ? ARRAY : OBJECT , buf , 0 , buf . length ) ; }
Returns the Java type corresponding to the given internal name.

@param internalName
an internal name.
@return the Java type corresponding to the given internal name.
Returns the Java type corresponding to the given internal name .