public static <T> ParameterDescription<T> choices(Class<T> type, String name,
				Collection<T> choices, T defaultValue, String display, String description) {
			if (!choices.contains(defaultValue)) {
				throw new IllegalArgumentException("Default must be one of the choices.");
			}
			return new ParameterDescription<>(type, name, false, defaultValue, display, description,
				"ANY", choices);
		}
Create a parameter having enumerated choices

@param <T> the type of the parameter
@param type the class representing the type of the parameter
@param name the name of the parameter
@param choices the non-empty set of choices
@param defaultValue the default value of this parameter
@param display the human-readable name of this parameter
@param description the human-readable description of this parameter
@return the new parameter description
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/iface/TraceObjectMethod.java