public static Type getObjectType(final String internalName) {
        if (isPrimitiveType(internalName)) {
            return getType(internalName);
        }
        char[] buf = internalName.toCharArray();
        return new Type(buf[0] == '[' ? ARRAY : OBJECT, buf, 0, buf.length);
    }