#spring-core
Posts
-
Digging into Spring's Source 13: ResolvableType and MergedAnnotations — How Spring Reads Types and Annotations
How Spring finds the String in List<String> (ResolvableType), how it reads annotations stacked on annotations and @AliasFor as one merged view (MergedAnnotations), and how it reads a .class file without loading the class (MetadataReader) — checked against the real source with runnable examples, for someone new to Spring.
-
Digging into Spring's Source 14: Type Conversion and BeanWrapper — From a String to an Object's Property
How the string "8080" from a configuration file ends up in a bean's int field, followed through the source. Why Spring has both PropertyEditor and ConversionService and which one it asks first, how BeanWrapper walks a path like "address.city", and where the container plugs these two in — explained for someone seeing Spring for the first time.
-
Digging into Spring's Source 16: Utilities and AOT — the Shared Toolbox and Computing Ahead of Time
Why spring-core carries its own utilities (Assert, ClassUtils, ReflectionUtils, three special maps, OrderComparator) that every module uses, where they appear and where they bite, and how Spring 6's AOT "computes ahead" by turning a container into Java source and RuntimeHints at build time — all checked against the real source and running examples.