FileRecursiveIterator () { if (myFiles != null) { return new FileRecursiveIterator(myProject, ContainerUtil.filter(myFiles, AbstractLayoutCodeProcessor::canBeFormatted)); } if (myProcessChangedTextOnly) { return buildChangedFilesIterator(); } if (myDirectory != null) { return new FileRecursiveIterator(myDirectory); } if (myModule != null) { return new FileRecursiveIterator(myModule); } return new FileRecursiveIterator(myProject); }