Description
It would be useful to have builder-style classes as an alternative to plugin factory methods. This would be useful in two settings:
- Easier to construct plugins in tests and in the code.
- Can add annotations to fields for value injection in the PluginBuilder class.
This could replace the existing factory methods, or it could complement it. This would also make it easier to support programmatic configuration.