Hello, I am struggling with a problem here, maybe ...
# announcements
j
Hello, I am struggling with a problem here, maybe you can help. I have an interface and many enums that implement that interface. I need a way to do something like a
valueOf
to get a reference of a enum entry from a string. As I don't know which enum to look at I would have to go through all implementations or use something like "$EnumClass.$EnumEntry" string. Maybe I can use some reflection? Any ideas?