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.
|
exportUserData
changeUserMap, clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
belongs, getAffectedModules, getAffectedSourceSets, getAffectedUnloadedModules
exportUserData
getUserData, putUserData
protected abstract FileIndex[] getFileIndices()
public VirtualFile [] getFiles(FileType fileType, boolean inSourceOnly)
CompileScope
getFiles
in interface CompileScope
fileType
- 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.