@Override
  public @NotNull PsiPackageStatement createPackageStatement(@NotNull String name) throws IncorrectOperationException {
    PsiJavaFile aFile = createDummyJavaFile("package " + name + ";");
    PsiPackageStatement stmt = aFile.getPackageStatement();
    if (stmt == null) {
      throw new IncorrectOperationException("Incorrect package name: " + name);
    }
    return stmt;
  }
@Override
  public @NotNull PsiPackageStatement createPackageStatement(@NotNull String name)