Annotation Type CSharpSimpleEnum


  • @Retention(SOURCE)
    @Target(TYPE)
    public @interface CSharpSimpleEnum
    Annotate a Java enum to indicate that a simple mapping to a C# enum should be used. This mapping is used essentially for enum's that consist of nothing more that a set of enumeration constants. The flags property is used to indicate that the enumeration constants should be powers of two, and the C# class will be annotated [Flags]..
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean flags  
    • Element Detail

      • flags

        boolean flags
        Default:
        false