private static boolean shouldHonorEncodingForCompilation(Iterable<? extends JavaBuilderExtension> builders, File file) {
    for (JavaBuilderExtension extension : builders) {
      if (extension.shouldHonorFileEncodingForCompilation(file)) {
        return true;
      }
    }
    return false;
  }
private static boolean shouldHonorEncodingForCompilation(Iterable<? extends JavaBuilderExtension> builders, File file)