public abstract class FileIndexCompileScope extends ExportableUserDataHolderBase implements CompileScope
EMPTY_ARRAY| Constructor and Description |
|---|
FileIndexCompileScope() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract FileIndex[] |
getFileIndices() |
VirtualFile [] |
getFiles(FileType fileType,
boolean inSourceOnly)
Returns the list of files within the scope.
|
exportUserDatachangeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMapequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbelongs, getAffectedModules, getAffectedSourceSets, getAffectedUnloadedModulesexportUserDatagetUserData, putUserDataprotected abstract FileIndex[] getFileIndices()
public VirtualFile [] getFiles(FileType fileType, boolean inSourceOnly)
CompileScopegetFiles in interface CompileScopefileType - the type of the files. Null should be passed if all available files are needed.inSourceOnly - if true, files are searched only in directories within the scope that are marked as "sources" or "test sources" in module settings.
Otherwise files are searched in all directories that belong to the scope.