Previously, InstanceSupplierCodeGenerator used reflection if the target visibility is either protected or private, and use direct access if the target visibility is public or package private. The previous arrangement already assumed that the code is generateed in the same package as the target type. This means that protected can be used as well so this commit only use reflection if the target visibility is private. Closes gh-29253 |
||
|---|---|---|
| .. | ||
| src | ||
| spring-beans.gradle | ||