Skip to content

Commit

Permalink
Refine Kotlin internal modifier impact documentation
Browse files Browse the repository at this point in the history
This commit is a refinement of 01b2856.

Closes gh-32010
  • Loading branch information
quaff authored and sdeleuze committed Jan 12, 2024
1 parent 5c77c37 commit c868bc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c868bc5

Please sign in to comment.