Understanding Spring Bean Naming Rules and the Decapitalize Logic
This article investigates how Spring generates bean names from annotated classes, explains the default lower‑casing rule, highlights the special case when the first two characters are uppercase, and shows the underlying JDK decapitalize method through source‑code exploration.
