diff --git a/platform/projectModel-api/src/com/intellij/openapi/roots/FileIndex.java b/platform/projectModel-api/src/com/intellij/openapi/roots/FileIndex.java
index 64558ddc5889..99eec952f1d9 100644
--- a/platform/projectModel-api/src/com/intellij/openapi/roots/FileIndex.java
+++ b/platform/projectModel-api/src/com/intellij/openapi/roots/FileIndex.java
@@ -57,6 +57,7 @@ public interface FileIndex {
/**
* Returns true if file is a source file which belongs to sources of the content.
+ * (Returns true for both source and test source).
fileOrDir is a file or directory from the content source or library sources.
+ * Returns true if fileOrDir is a file or directory from the content production/test source or library source.
*
* @param fileOrDir the file or directory to check.
* @return true if the file or directory belongs to project or library sources, false otherwise.