users@codemodel.java.net

Case label using enum values

From: <andrei.solodin_at_thomsonreuters.com>
Date: Thu, 16 Feb 2012 22:40:29 +0000

Hi, is there any way to generate case label using enums? It must not be qualified and JExpr.direct doesn't work because it puts the value in parens and compiler doesn't like this.

Thanks
Andrei