CEnumValue implements PEnumValue<CEnumValue>, CAnnotatedDescriptor { @Override public String toString() { return name.toUpperCase(Locale.US); } CEnumValue(@Nullable String comment,
                      int value,
                      @Nonnull String name,
                      @Nonnull PEnumDescriptor<CEnumValue> type,
                      @Nullable Map<String, String> annotations); @Override String getDocumentation(); @Override int asInteger(); @Nonnull @Override String asString(); @Nonnull @Override @SuppressWarnings("unchecked") Set<String> getAnnotations(); @Override boolean hasAnnotation(@Nonnull String name); @Override String getAnnotationValue(@Nonnull String name); @Nonnull @Override PEnumDescriptor<CEnumValue> descriptor(); @Override boolean equals(Object o); @Override int hashCode(); @Override int compareTo(@Nonnull CEnumValue other); @Override String toString();  }
@Test public void testToString() { assertEquals("THREE", value3.toString()); assertEquals("THREE", value3_other.toString()); assertEquals("FIVE", value5.toString()); }