Searched refs:classWriter (Results 1 – 3 of 3) sorted by relevance
71 ClassWriter classWriter = writer.addClass(generatedTypeName.simpleName()); in write() local72 classWriter.annotate(Generated.class).setValue(ComponentProcessor.class.getName()); in write()73 classWriter.annotate(Module.class); in write()74 classWriter.addModifiers(FINAL); in write()78 classWriter.addMethod(SET_OF_FACTORIES, "defaultSetOfFactories"); in write()85 FieldWriter providerField = classWriter.addField(MonitorCache.class, "monitorCache"); in write()88 MethodWriter monitorMethod = classWriter.addMethod(ProductionComponentMonitor.class, "monitor"); in write()
130 ClassWriter classWriter = writer.addClass(generatedTypeName.simpleName()); in write() local131 classWriter.addTypeParameters(typeParameters); in write()132 classWriter.addModifiers(FINAL); in write()133 constructorWriter = Optional.of(classWriter.addConstructor()); in write()135 factoryWriter = classWriter; in write()
86 ClassWriter classWriter = new ClassWriter(ClassName.create(packageName, simpleName)); in addClass() local87 typeWriters.add(classWriter); in addClass()88 return classWriter; in addClass()