private static boolean hasAnonymousClass(@NotNull String className) {
    int classAdditionalInfoIndex = className.indexOf("$");
    if (classAdditionalInfoIndex != -1) {
      String shortName = getShortName(className, '$');
      if (shortName.isEmpty()) {
        return true;
      }
      if (Character.isDigit(shortName.charAt(0))) {
        return true;
      }
    }
    return false;
  }
private static boolean hasAnonymousClass(@NotNull String className)