Is there a workaround to be able to use colons as the key in enums?
public enum foo {
_DEFAULT_GET("com.foo.my.package"); // works fine
_PREFIX_GET("com.foo.my.other.package");
_PRE:CODE_GET("com.foo.yet.another.package"); // <-- how do I escape this colon?
}
EDIT: before I get downvoted into oblivion, I'd like to add that there was a naming convention change that was handed down. It has caused quite a fun debate in the team! :-)