title: Java decompiler that works with Java 5 (handles enums among other new things)
body: <p>I know this question was asked gzillions of times already, but I am specifically after a decompiler that would handle enums corrently (because the jar I am decompiling uses enums heavily). I tested that both JAD and JD-GUI don't. </p>
  
  <p>Could someone recommend a decompiler (ideally that works under Linux and can easily handle the whole jar without requiring me to write shell scrips)?</p>
  
  <p>EDIT:
  Specifically I have issues with constructs like:</p>
  
  <pre><code>switch(myEnum) {
  case A: ...
  case B: ...
  }
  </code></pre>
  
  <p>they get decompiled (for both JAD and JD-GUI) as something like:</p>
  
  <pre><code>switch ($SWITCH_TABLE$com$MyType()[myEnum.ordinal()]) {
  case 1:
  case 2:
  }
  </code></pre>
  
  <p>where <code>$SWITCH_TABLE$com$MyType()</code> is either not declared at all or doesn't compile.</p>