+
+ @Override
+ public String toString() {
+ return getClass().getSimpleName() + " [" + coloringObject.getName() + " (" + coloringObject.getResource() + "), contributions=" + colorContributionsToString() + "]";
+ }
+
+ private String colorContributionsToString() {
+
+ return colorContributions.keySet().stream().map(key -> {
+ DynamicColorContribution dynamicColorContribution = colorContributions.get(key);
+ return key + "=" + dynamicColorContribution.getLabel();
+ }).collect(Collectors.joining(", ", "{", "}"));
+ }