• Vladimir Glavnyy's avatar
    Fix multi-line comments for cpp enums (#5345) (#5346) · 95004218
    Vladimir Glavnyy authored
    - fix CSharp comments generation
    - fix Python comments generation
    - fix Lua comments generation
    - fix PHP comments generation
    - fix Dart comments generation
    - add brief description of Color enum
    - add multi-line comments to the Monster:Color
    95004218
Color.java 586 Bytes
// automatically generated by the FlatBuffers compiler, do not modify

package MyGame.Example;

/**
 * Composite components of Monster color.
 */
public final class Color {
  private Color() { }
  public static final byte Red = 1;
  /**
   * \brief color Green
   * Green is bit_flag with value (1u << 1)
   */
  public static final byte Green = 2;
  /**
   * \brief color Blue (1u << 3)
   */
  public static final byte Blue = 8;

  public static final String[] names = { "Red", "Green", "", "", "", "", "", "Blue", };

  public static String name(int e) { return names[e - Red]; }
}