List<ResourcesTarget> (@NotNull JpsModel model) { List<JpsModule> modules = model.getProject().getModules(); List<ResourcesTarget> targets = new ArrayList<>(modules.size()); for (JpsModule module : modules) { targets.add(new ResourcesTarget(module, this)); } return targets; }