The book Java Reflection in Action was published in 2004, but remains largely applicable eight years later. In this post, I review this book and cover its strengths and its weaknesses. In general, age ...
Have you ever wondered how your favorite IDE manages auto-completion of method and field names? Even better, how does an object relational (OR) mapping framework like Hibernate support default fields ...
Reflection was essential to the advanced Java toolkit for years. Now it's being superseded by newer, safer options. Here's how to use MethodHandle and VarHandle to gain programmatic access to methods ...