public static boolean isMarkedDirty(CompileContext context, final CompilationRound round, final File file) {
    final JavaSourceRootDescriptor rd = context.getProjectDescriptor().getBuildRootIndex().findJavaRootDescriptor(context, file);
    if (rd != null) {
      final ProjectDescriptor pd = context.getProjectDescriptor();
      return pd.fsState.isMarkedForRecompilation(context, round, rd, file);
    }
    return false;
  }
public static boolean isMarkedDirty(CompileContext context, final CompilationRound round, final File file)