use of com.axellience.vuegwt.processors.component.factory.VueComponentFactoryGenerator in project vue-gwt by Axellience.
the class VueGwtProcessor method processComponentAnnotations.
private void processComponentAnnotations(RoundEnvironment roundEnv) {
Set<? extends Element> componentElements = roundEnv.getElementsAnnotatedWith(Component.class);
ComponentJsTypeGenerator componentJsTypeGenerator = new ComponentJsTypeGenerator(processingEnv);
VueComponentFactoryGenerator vueFactoryGenerator = new VueComponentFactoryGenerator(processingEnv);
for (TypeElement componentType : ElementFilter.typesIn(componentElements)) {
ComponentInjectedDependenciesBuilder dependenciesBuilder = new ComponentInjectedDependenciesBuilder(processingEnv, componentType);
vueFactoryGenerator.generate(componentType, dependenciesBuilder.hasInjectedDependencies());
componentJsTypeGenerator.generate(componentType, dependenciesBuilder);
}
}
Aggregations