Home
last modified time | relevance | path

Searched refs:classWriter (Results 1 – 4 of 4) 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()
/external/annotation-tools/asmx/src/org/objectweb/asm/
DClassReader.java229 void copyPool(final ClassWriter classWriter) { in copyPool() argument
295 if (classWriter.bootstrapMethods == null) { in copyPool()
296 copyBootstrapMethods(classWriter, items2, buf); in copyPool()
317 classWriter.pool.putByteArray(b, off, header - off); in copyPool()
318 classWriter.items = items2; in copyPool()
319 classWriter.threshold = (int) (0.75d * ll); in copyPool()
320 classWriter.index = ll; in copyPool()
330 private void copyBootstrapMethods(final ClassWriter classWriter, in copyBootstrapMethods() argument
365 classWriter.bootstrapMethodsCount = boostrapMethodCount; in copyBootstrapMethods()
366 classWriter.bootstrapMethods = bootstrapMethods; in copyBootstrapMethods()