-
Notifications
You must be signed in to change notification settings - Fork 214
Closed
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: refactoringtype: enhancement
Milestone
Description
In general, field injection comes with some downsides http://olivergierke.de/2013/11/why-field-injection-is-evil/
Unfortunately, refactoring of old, grown code bases towards constructor injection is tedious. So I was looking for a refactoring automation (and apparently I was not the first one with this issue https://stackoverflow.com/questions/44008985/convert-spring-field-injection-to-constructor-injection-intellij-idea)
So in essence, a quick fix action on @Inject
or @Autowired
fields to create a new or extend an existing constructor (depending on (required = false) flag) would be really nice.
martinlippertodrotbohm
Metadata
Metadata
Assignees
Labels
for: eclipsesomething that is specific for Eclipsesomething that is specific for Eclipsefor: vscodesomething that is specific for VSCodesomething that is specific for VSCodetheme: refactoringtype: enhancement