public static TypeRepresentation ofEnum ( final TypeIdentifier identifier , final String ... enumValues ) { return new EnumTypeRepresentation ( identifier , new HashSet <> ( Arrays . asList ( enumValues ) ) ) ; }
Creates a type representation of an enum type plus the available enumeration values .