-
Notifications
You must be signed in to change notification settings - Fork 213
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: spring index & symbolstype: enhancement
Milestone
Description
When indexing symbols today we only index symbols which are annotated by known spring related annotations. For example
@RestController
public class StockController {
public StockController(@Autowired StockRepository repo){}
}
Both the symbols will be available in symbols. This information could be used to show a potential hierarchy in the spring dash board or provide actions to navigate or find reference. But if we write the same code like
@RestController
public class StockController {
public StockController(StockRepository repo){}
}
Now the constructor injection is not identified as a symbol. But ideally this will be considered as injection point (like it was annotated with Autowired) at runtime.
So the suggestion / question is, could we identify this constructors as similar to @Autowired symbols when we satisfy the spring's injection criteria for implicity constructor injection ?
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: spring index & symbolstype: enhancement