@Override protected void applyTo(App app) { Set<Class<? extends Annotation>> entityAnnotations = entityAnnotations(); if (!entityAnnotations.isEmpty()) { MasterEntityMetaInfoRepo repo = app.entityMetaInfoRepo(); for (Class<? extends Annotation> annoType : entityAnnotations) { repo.registerEntityAnnotation(annoType); } } }
@Override protected void applyTo(App app) { Set<Class<? extends Annotation>> entityAnnotations = entityAnnotations(); if (!entityAnnotations.isEmpty()) { MasterEntityMetaInfoRepo repo = app.entityMetaInfoRepo(); for (Class<? extends Annotation> annoType : entityAnnotations) { repo.registerEntityAnnotation(annoType); } } }