question: public static void checkFieldValueFromEnum ( final String value , final String fieldName , Class < ? extends Enum > enumType ) { if ( value != null ) { checkFieldValueFromEnum ( value , fieldName , EnumSet . allOf ( enumType ) ) ; } }
target:  Validates that the value supplied matches one of the expected values' names