Map a properties file to a Java object using annotation.