code: private static String getClassNames() {
          StringBuilder result = new StringBuilder("\nMethod frame counter enter to the following classes:\n");
          for (String className : classNames.get()) {
              result.append(className).append("\n");
          }
          return result.toString();
      }
docs: Creates string with all classes that have been entered by method frame counter.
  @return String