Collection<GradleProp> (@NotNull GradleExtensionsData extensionsData, @NotNull Map<String, GradleProp> result) { for (GradleProp property : extensionsData.properties.values()) { result.putIfAbsent(property.name, property); } if (extensionsData.getParent() != null) { findAllProperties(extensionsData.getParent(), result); } return result.values(); }