private static void createDefaultMetaModules(MetaApplication app) { for (String className : AnnotatedClassParser.getManagedClassNames()) { if (className.endsWith(".GalleryImage") || className.endsWith(".AttachedFile")) continue; if (isEmbeddable(className)) continue; app.getMetaModule(Strings.lastToken(className, ".")); } }
private static void createAdditionalMetaModules(MetaApplication app) { for (String moduleName : AdditionalModules.get()) { app.getMetaModule(moduleName); } }