public enum Context {
ALL
}
pulbic class Types {
public static final String MY = ""
}
Context.ALL # <- here "ALL" is in autocompletion variants and can be resolved. But it's impossible on runtime. Instead we should use Context::ALL
Types.MY # the same problem