import com.google.common.collect.ImmutableList; import lombok.Builder; import lombok.Singular; @Builder public class BuilderWithDeprecated { /** @deprecated since always */ String dep1; @Deprecated int dep2; @Singular @Deprecated java.util.List strings; @Singular @Deprecated ImmutableList numbers; }