void (String effectiveTargetName, String dependentTargetEffectiveName) { List<String> list = myDependenciesMap.get(effectiveTargetName); if (list == null) { myDependenciesMap.put(effectiveTargetName, list = new ArrayList<>()); } list.add(dependentTargetEffectiveName); }