private @Nullable @NlsContexts.DetailedDescription String checkForWarnings(String inputString) {
    final StringTokenizer tokenizer = new StringTokenizer(inputString, myDelimiters);
    while (tokenizer.hasMoreTokens()) {
      final String token = tokenizer.nextToken();
      if (FileTypeManager.getInstance().isFileIgnored(token)) {
        return myIsDirectory ? IdeBundle.message("warning.create.directory.with.ignored.name", token)
                                    : IdeBundle.message("warning.create.package.with.ignored.name", token);
      }
      if (!myIsDirectory && !token.isEmpty() && myProject != null && !PsiDirectoryFactory.getInstance(myProject).isValidPackageName(token)) {
        return IdeBundle.message("error.invalid.java.package.name");
      }
    }
    if (myIsDirectory && inputString.contains(".") && hasNoPathDelimiters(inputString)) {
      return IdeBundle.message("warning.create.directory.with.dot");
    }
    return null;
  }
private @Nullable @NlsContexts.DetailedDescription String checkForWarnings(String inputString)