import java.util.Set; import java.util.SortedSet; import lombok.Singular; @lombok.Builder(setterPrefix = "with") class BuilderSingularSetsWithSetterPrefix { @Singular private Set dangerMice; @Singular private SortedSet octopodes; @SuppressWarnings("all") @Singular("rawSet") private Set rawSet; @Singular("stringSet") private Set stringSet; }