Yes, the field either needs to be public or protected/package private with the configuration code living in the same package. I think that's about as good as we can do with Java.