code: static void printString(String s, int minWidth) {
          for (int i = minWidth; i < 0; i++) {
              // negative width means pad leading spaces, not fixed width.
              System.out.print(' ');
          }
          for (int i = s.length(); i < minWidth; i++) {
              System.out.print(' ');
          }
          System.out.print(s);
      }
docs: /CLOVER:OFF