@Nullable
    public static CountingLoopSource from(PsiForStatement forStatement) {
      CountingLoop loop = CountingLoop.from(forStatement);
      if (loop == null || loop.isDescending()) return null;
      return new CountingLoopSource(forStatement, loop.getCounter(), loop.getInitializer(), loop.getBound(), loop.isIncluding());
    }
@Nullable
    public static CountingLoopSource from(PsiForStatement forStatement)