void (@NotNull AbstractLayoutCodeProcessor processor, @Nullable String fileTypeMask) { if (fileTypeMask == null) return; final Condition<CharSequence> patternCondition = getFileTypeMaskPattern(fileTypeMask); processor.addFileFilter(file -> patternCondition.value(file.getNameSequence())); }