Automatically create builder for class in Eclipse

后端 未结 5 679
离开以前
离开以前 2020-12-24 10:35

Is there a way to use an automatic builder to create builder (Joshua Bloch\'s Builder Pattern) for classes in Eclipse? For example an option in the men

5条回答
  •  星月不相逢
    2020-12-24 11:31

    I currently use Spark Builder Generator with Eclipse Neon.1a Release (4.6.1) and it works well.

    • https://marketplace.eclipse.org/content/sparkbuildergenerator
    • https://github.com/helospark/SparkBuilderGenerator

    You can set the preferences under:
    Window->Preferences->Java->Spark Builder Generator

提交回复
热议问题