* Gets the bundle name from the @Bundle annotation.
*
* @param bundleAnnotatedClass
*/
private String getMessageBundlePath(MetaClass bundleAnnotatedClass) {
Bundle annotation = bundleAnnotatedClass.getAnnotation(Bundle.class);
String name = annotation.value();
if (name == null) {
throw new GenerationException("@Bundle: bundle name must not be null].");
}
// Absolute path vs. relative path.
if (name.startsWith("/")) {