public class Constant { ...... public enum Status { ERROR, WARNING, NORMAL } ...... }
After compiling I got a class file named
In your code just do:
Constant.Status.ERROR.toString();