throws UnableToCompleteException {
logger = logger.branch(TreeLogger.DEBUG, "Generating enumvalue elements",
null);
PreferenceAttributes attributes = m.getAnnotation(PreferenceAttributes.class);
if (attributes != null && attributes.options() == PreferenceAttributes.Options.HIDDEN) {
// Don't generate EnumValue elements for hidden preferences
logger.log(TreeLogger.DEBUG, "No, not generating enumvalue elements for hidden pref", null);
return;
}