String (PsiEnumConstant constant) { String name = constant.getName(); if (doNotTransformName()) return name; if (enumLowerUnderscore()) return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_UNDERSCORE, name); return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, name); }