Searched refs:classWriter (Results 1 – 4 of 4) 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()
229 void copyPool(final ClassWriter classWriter) { in copyPool() argument295 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() argument365 classWriter.bootstrapMethodsCount = boostrapMethodCount; in copyBootstrapMethods()366 classWriter.bootstrapMethods = bootstrapMethods; in copyBootstrapMethods()