code: protected void printStaticAccessors() {
      if (options.staticAccessorMethods()) {
        for (VariableDeclarationFragment fragment : getStaticFields()) {
          VariableElement var = fragment.getVariableElement();
          TypeMirror type = var.asType();
          String accessorName = nameTable.getStaticAccessorName(var);
          String objcType = nameTable.getObjCType(type);
          TypeElement declaringClass = ElementUtil.getDeclaringClass(var);
          String baseName = nameTable.getVariableBaseName(var);
          ExecutableElement getter =
              ElementUtil.findGetterMethod(baseName, type, declaringClass, /* isStatic = */ true);
          if (getter == null) {
            printf("\n+ (%s)%s;\n", objcType, accessorName);
          }
          ExecutableElement setter =
              ElementUtil.findSetterMethod(baseName, type, declaringClass, /* isStatic = */ true);
          if (setter == null && !ElementUtil.isFinal(var)) {
            printf("\n+ (void)set%s:(%s)value;\n", NameTable.capitalize(accessorName), objcType);
          }
        }
        if (typeNode instanceof EnumDeclaration) {
          for (EnumConstantDeclaration constant : ((EnumDeclaration) typeNode).getEnumConstants()) {
            String accessorName = nameTable.getStaticAccessorName(constant.getVariableElement());
            if (options.nullability()) {
              printf("\n+ (%s * __nonnull)%s;\n", typeName, accessorName);
            } else {
              printf("\n+ (%s *)%s;\n", typeName, accessorName);
            }
          }
        }
      }
    }
docs: Prints the list of static variable and/or enum constant accessor methods.