title: IntelliJ doesn't recognize Java enum
body: <p>I'm working with <strong>IntelliJ 14.1.4</strong> and <strong>Java SDK 1.8</strong>. I've created an <code>Enum</code> but <strong>IntelliJ</strong> is not recognizing the code and it's showing the following error:</p>
  
  <pre><code>'class' os 'interface' expected
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/HRoLk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HRoLk.png" alt="enter image description here"></a></p>
  
  <p>Are enum not supported by IntelliJ???</p>