code: private void printLocalIncludes(GeneratedType type) {
      String typeName = type.getTypeName();
      Set<Import> includes = type.getHeaderIncludes();
      List<Import> localImports = Lists.newArrayList();
      for (Import imp : includes) {
        if (isLocalType(imp.getTypeName())) {
          localImports.add(imp);
        }
      }
      if (!localImports.isEmpty()) {
        printf("#ifdef INCLUDE_%s\n", typeName);
        for (Import imp : localImports) {
          printf("#define INCLUDE_%s 1\n", imp.getTypeName());
        }
        println("#endif");
      }
    }
docs: Given a {@link com.google.devtools.j2objc.gen.GeneratedType}
  and its collected {@link com.google.devtools.j2objc.types.Import}s,
  print its 'local includes'; viz.,
  {@code INCLUDE} directives for all supertypes that are defined in the
  current segmented header.