[Java]: Move lookup of null value out of switch statements for enum determination to support for jumptable supported ranges.