title: Eclipse compilation put lots of .class files in the package folders
body: <p>I must have done something very stupid which has caused the following situation. Basically after compilation of code which I had compiled successfully lots of times previously, all of the .class files have all of a sudden been put in the package folders, where the .java files are. Some of the .class files have even numbers in the names like.</p>
  
  <pre><code>ClassName.java
  ClassName.class
  ClassName$1.class
  ClassName$2.class
  ClassName$3.class
  ClassName$4.class
  </code></pre>
  
  <p>It looks a mess in the Navigator and rebuilding or cleaning the project doesn't make these files go away.</p>
  
  <p>The last code change I made, which has now been reverted was in the class static field:</p>
  
  <pre><code>static {
      if (System.getProperty("os.name").startsWith("Mac OS X")) { CONTROL_PANEL_WIDTH = 225; }
      else { CONTROL_PANEL_WIDTH = 180; }
  
  System.out.println(System.getProperty("os.name")); // this is what I added; perhaps it was stupid
  }
  </code></pre>
  
  <p>I must have done something silly. Can you help please?</p>