FileIndex.*source* javadoc should say that it accounts for both production and tests

This commit is contained in:
peter
2014-11-06 17:05:24 +01:00
parent 8c373fae76
commit ad398fa228
2 changed files with 2 additions and 1 deletions
@@ -57,6 +57,7 @@ public interface FileIndex {
/**
* Returns true if <code>file</code> is a source file which belongs to sources of the content.
* (Returns true for both source and test source).<p/>
* Note that sometimes a file can belong to the content and be a source file but not belong to sources of the content.
* This happens if sources of some library are located under the content (so they belong to the project content but not as sources).
*
@@ -125,7 +125,7 @@ public interface ProjectFileIndex extends FileIndex {
boolean isLibraryClassFile(@NotNull VirtualFile file);
/**
* Returns true if <code>fileOrDir</code> is a file or directory from the content source or library sources.
* Returns true if <code>fileOrDir</code> 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.