if (index < 0 || index >= fromInt.length)
if (index < 0 || index >= fromInt.length) {
    public static State fromInt(int index) {        if (index < 0 || index >= fromInt.length)            return null;        return fromInt[index];    }