mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make getBaseDir deprecation more clear
This commit is contained in:
@@ -36,7 +36,9 @@ public interface Project extends ComponentManager, AreaInstance {
|
||||
* Returns {@code null} for default project.
|
||||
*
|
||||
* @see com.intellij.openapi.project.ProjectUtil#guessProjectDir
|
||||
* @deprecated Use {@link #getBasePath()}
|
||||
* @see #getBasePath()
|
||||
*
|
||||
* @deprecated No such concept as "project root". Project consists of module set, each has own content root set.
|
||||
*/
|
||||
@Deprecated
|
||||
VirtualFile getBaseDir();
|
||||
@@ -44,7 +46,7 @@ public interface Project extends ComponentManager, AreaInstance {
|
||||
/**
|
||||
* Returns a path to a project base directory (see {@linkplain #getBaseDir()}).<br/>
|
||||
* Returns {@code null} for default project.
|
||||
*
|
||||
*
|
||||
* @see com.intellij.openapi.project.ProjectUtil#guessProjectDir
|
||||
*/
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user