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

0
Avatar
Permanently deleted user

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

Tom

0
Avatar
Permanently deleted user

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

0

请先登录再写评论。