I believe someone is working on this now if it has not been done already. But basically,
you would use:
JavaParser.create(JavaEnum.class) ...
Then manipulate and write out the file to a JavaResource (if you're doing this in a
plugin operating on a Java project.)
~Lincoln
----- Original Message -----
From: "Robb Greathouse" <robb.greathouse(a)jboss.com>
To: "Lincoln Baxter" <lbaxter(a)redhat.com>
Sent: Thursday, December 13, 2012 1:01:51 PM
Subject: Looking for documentation for creating ENUM classes
Hi,
I was wondering if we had any instruction for creating an ENUM type example
entity --named MyEnumType --??
or
enum --named MyEnumType
Robb Greathouse
Partner Enablement
Middleware Business Unit
JBoss, a Division of Red Hat
cellphone 505-507-4906
Show replies by date