def METHOD_NAME(enumeration: Enumeration) -> java.InnerClass:
    primary_field = enumeration.primary_field
    name = '{}Values'.format(primary_field.name)
    primary_field_javadoc = _format_primary_field_javadoc(enumeration)
    secondary_fields_javadoc = _format_secondary_fields_javadoc(enumeration) or ''
    javadoc = '{}{}'.format(primary_field_javadoc, secondary_fields_javadoc)
    fields = [java.ConstantField(type_=enumeration.type_, name=value.name, value=value.value)
              for value in enumeration.values]
    return java.InnerClass(name=name, javadoc=javadoc, fields=fields)