import lombok.Builder; class BuilderWithExistingBuilderClassWithSetterPrefix { @Builder(setterPrefix = "with") public static BuilderWithExistingBuilderClassWithSetterPrefix staticMethod(Z arg1, boolean arg2, String arg3) { return null; } public static class BuilderWithExistingBuilderClassWithSetterPrefixBuilder { private Z arg1; public void withArg2(boolean arg) { } } }