Type-safe localization message access for Java