add ProjectFileIndex#getSourceFolder to simplify clients (IDEA-CR-57371)
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Mon, 3 Feb 2020 11:13:26 +0000 (14:13 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Mon, 3 Feb 2020 11:39:23 +0000 (11:39 +0000)
commit64c20b2ef671e68531b9a825534029e301843087
treeeb3afba1eb0e228cc4ffb6d7ae16d8b9a72826a8
parent8f8d4a58fef6f9157e21bb3ac412f031239464c9
add ProjectFileIndex#getSourceFolder to simplify clients (IDEA-CR-57371)

No need to cast ProjectFileIndex.getInstance() to ProjectFileIndexImpl now.

GitOrigin-RevId: 58a104b4444e4bf24dde03e2482ae8d6bae6723c
platform/lang-impl/src/com/intellij/codeInsight/daemon/quickFix/AbstractCreateFileFix.java
platform/lang-impl/src/com/intellij/ide/actions/CreateDirectoryOrPackageAction.java
platform/lang-impl/src/com/intellij/psi/impl/file/SourceRootIconProvider.java
platform/lang-impl/src/com/intellij/psi/impl/source/resolve/reference/impl/providers/JpsFileTargetContextUtils.java
platform/projectModel-api/src/com/intellij/openapi/roots/ProjectFileIndex.java
platform/projectModel-impl/src/com/intellij/ide/projectView/impl/ProjectRootsUtil.java
platform/projectModel-impl/src/com/intellij/openapi/roots/impl/ProjectFileIndexImpl.java