Can I Replace constructor with inner static Builder?

Hello,

The replace Constructor with Builder generates a new Builder class, but I could not find a way to generate it as a static inner class. There is some way to use this refactor in order to create the builder as a static inner class?

Thanks in advance,
Vitor

2 comments

You can move a top-level class into another one.

Tom

0

Well, ok. I gess there is no other way other than do two steps.

0

Please sign in to leave a comment.