public class Constant {
......
public enum Status {
ERROR,
WARNING,
NORMAL
}
......
}
After compiling I got a class file named Constant$Status.class. The question is, how can I access the enum value. For instance, I want to get the string representation of the ERROR status.