docs: private void generateStaticInjection(TypeElement type, List<Element> fields) throws IOException {
      ClassName typeName = ClassName.get(type);
      ClassName adapterClassName = adapterName(ClassName.get(type), STATIC_INJECTION_SUFFIX);
  
      TypeSpec.Builder result = TypeSpec.classBuilder(adapterClassName.simpleName())
          .addOriginatingElement(type)
          .addJavadoc(AdapterJavadocs.STATIC_INJECTION_TYPE, type)
          .addModifiers(PUBLIC, FINAL)
          .superclass(StaticInjection.class);
      for (Element field : fields) {
        result.addField(memberBindingField(false, field));
      }
      result.addMethod(attachMethod(null, fields, false, typeName, null, true));
      result.addMethod(staticInjectMethod(fields, typeName));
  
      String packageName = getPackage(type).getQualifiedName().toString();
      JavaFile javaFile = JavaFile.builder(packageName, result.build())
          .addFileComment(AdapterJavadocs.GENERATED_BY_DAGGER)
          .build();
      javaFile.writeTo(processingEnv.getFiler());
    }