// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.project;

import org.jetbrains.annotations.NotNull;

public interface ProjectCloseHandler {
  /**
   * Checks whether the project can be closed.
   *
   * @param project project to check
   * @return true or false
   */
  boolean canClose(@NotNull Project project);
}

@@ -17,10 +17,10 @@
 0-20
-19
+20
  Jet
@@ -216,16 +216,98 @@
 tNull;%0A%0A
+/**%0A * Register via %7B@code com.intellij.projectCloseHandler%7D extension point.%0A */%0A
 public i

add javadoc about projectCloseHandler EP