Home
last modified time | relevance | path

Searched refs:classWriter (Results 1 – 3 of 3) sorted by relevance

/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DMonitoringModuleGenerator.java71 ClassWriter classWriter = writer.addClass(generatedTypeName.simpleName()); in write() local
72 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()
DFactoryGenerator.java130 ClassWriter classWriter = writer.addClass(generatedTypeName.simpleName()); in write() local
131 classWriter.addTypeParameters(typeParameters); in write()
132 classWriter.addModifiers(FINAL); in write()
133 constructorWriter = Optional.of(classWriter.addConstructor()); in write()
135 factoryWriter = classWriter; in write()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DJavaWriter.java86 ClassWriter classWriter = new ClassWriter(ClassName.create(packageName, simpleName)); in addClass() local
87 typeWriters.add(classWriter); in addClass()
88 return classWriter; in addClass()