Field.getValue() may return null and a NPE would be thrown. Perhaps the isFieldEnum method should be aware of this?