import lombok.experimental.Builder; class BuilderWithExistingBuilderClass { @Builder public static BuilderWithExistingBuilderClass staticMethod(Z arg1, boolean arg2, String arg3) { return null; } public static class BuilderWithExistingBuilderClassBuilder { private Z arg1; public void arg2(boolean arg) { } } }