public static boolean isAntFile(VirtualFile file) {
    String id = ForcedBuildFileAttribute.getFrameworkIdOfBuildFile(file);
    return ANT_ID.equals(id) || (StringUtil.isEmpty(id) && isAntFileOld(file));
  }
public static boolean isAntFile(VirtualFile file)