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.
Could someone recommend a decompiler (ideally that works under Linux and can easily handle the whole jar without requiring me to write shell scrips)?
EDIT: Specifically I have issues with constructs like:
switch(myEnum) {
case A: ...
case B: ...
}
they get decompiled (for both JAD and JD-GUI) as something like:
switch ($SWITCH_TABLE$com$MyType()[myEnum.ordinal()]) {
case 1:
case 2:
}
where $SWITCH_TABLE$com$MyType()
is either not declared at all or doesn't compile.