title: constant expression require in java switch case (field is final and initialized)
body: <pre><code>public static final Integer SAMPLE = 100;
  
  public static void doSomething(int errorCode) {
      switch (errorCode) {
          case SAMPLE:
              // ...
             break;
      }
  }
  </code></pre>
  
  <p>I got constant expression required. if i change SAMPLE to int it will get fix. why ?</p>