PropertyPath implements Comparable<PropertyPath> { public static Builder builder() { return new Builder(); } @JsonCreator  PropertyPath(@JsonProperty("parts") final List<String> parts); static PropertyPath blank(); static PropertyPath fromPathString(final String propertyPath); static PropertyPath fromParts(final String... parts); static PropertyPath fromParts(final List<String> parts); PropertyPath merge(final PropertyPath otherPath); PropertyPath merge(final String part); @JsonIgnore String getPropertyName(); static Builder builder(); @Override int compareTo(final PropertyPath other); @Override String toString(); @Override boolean equals(final Object o); boolean equalsIgnoreCase(final PropertyPath o); @Override int hashCode();  }
@Test void builder() { PropertyPath propertyPath = PropertyPath.builder() .add("stroom") .add("node") .add("name") .build(); Assertions.assertThat(propertyPath.toString()).isEqualTo("stroom.node.name"); }