title: Syntax error , insert "EnumBody" to complete EnumDeclaration
body: <p>I was in middle of coding and accidentally put the following line of code at the part of class where we declare instance variables. but i checked and it gives the same error anywhere by anywhere i mean : inside a static block, inside constructor, inside any class method. except when <code>private;</code> is put as the first line of the class it gives 
  <code>Syntax error, insert "EnumBody" to complete ClassBodyDeclarations</code> (as written by @chaitanya10 in comments below and also verified by me on my workspace) error in eclipse tooltip when we hover cursor over it. </p>
  
  <p>I understand there is error.<br>
  but I dont understand the error message when i hover cursor over the error. what is the meaning of this message? </p>
  
  <p>why does it expecting <code>EnumBody</code> ? </p>
  
  <p>Below is the screenshot.</p>
  
  <p><img src="https://i.stack.imgur.com/jRX7A.png" alt="enter image description here"></p>