Collection<ResourceRootConfiguration> (@Nullable MavenModuleResourceConfiguration moduleConfig) { if (moduleConfig != null) { return isTests() ? moduleConfig.testResources : moduleConfig.resources; } return Collections.emptyList(); }