StaticPrimitiveTypeFields - mehdimo/janett GitHub Wiki

C# compiler does not allow not-constant fields to be used in some places like switch cases. Static fields with primitive types that initialized to literal values may be used in such places in Java.

We make these fields constant.