Refine Kotlin internal modifier impact documentation

This commit is a refinement of 01b2856114.

Closes gh-32010
This commit is contained in:
Yanming Zhou 2024-01-11 10:21:27 +08:00 committed by Sébastien Deleuze
parent 5c77c3739e
commit c868bc554f
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ public class SampleConfiguration {
As a consequence, the related bean name represented as a Kotlin string is `"sampleBean\$demo_kotlin_internal_test"`,
instead of `"sampleBean"` for the regular `public` function use-case. Make sure to use the mangled name when injecting
such bean by name.
such bean by name, or add `@JvmName("sampleBean")` to disable name mangling.
[[injecting-configuration-properties]]
== Injecting Configuration Properties