Browse Source
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-29253pull/29282/head
Stephane Nicoll
2 years ago
1 changed files with 2 additions and 4 deletions
Loading…
Reference in new issue