title: static initializer interfering with emma
body: <p>I've written a class that has every line covered through JUnit/emma (its a fairly basic class).</p>
  
  <p>Emma's eclipse output shows all lines in green (covered). However, emma's report (HTML) shows that I've missed 1 instruction. It highlights the class in yellow (public class X).</p>
  
  <p>The missed instruction appears to be related to a "static initializer". I'm familiar with them, and this particular class has no</p>
  
  <pre><code>static {
  
  }
  </code></pre>
  
  <p>block in it. It has no static methods at all. It does have 4 public static final ints. It also contains an enum.</p>
  
  <p>The HTML output indicates:</p>
  
  <pre><code>class X$1
  &lt;static initializer&gt;
  </code></pre>
  
  <p>as being the instruction (and method) that is not covered.</p>
  
  <p>Where is this mystery instruction coming from? How can I test it? </p>
  
  <p>I dont have any inner classes in this file, I can't even explain where the $1 is coming from.</p>