Introduction to Java Reflection
Reflection is writing code that manipulates itself. Well-written reflective code automates a broad class of repetitive, error-prone programming tasks. Poorly-written reflective code obfuscates programs and destroys the benefits of the type system. We'll focus on the former.
REFLECTIVE TASKS COVERED IN THIS TALK
- Discovering class members
- Dynamically accessing fields, methods, and constructors
- Bypassing the Java language protection modifiers
- Converting between objects, XML, and relational data
- Generating new classes at runtime
- Intercepting method calls and simple aspects
- The reflection security model
About Stuart Halloway
Stuart Halloway is a founder and President of Cognitect, Inc. (www.cognitect.com). He is a Clojure committer, and a developer of the Datomic database.
Stuart has spoken at a variety of industry events, including StrangeLoop, Clojure/conj, EuroClojure, ClojureWest, SpeakerConf, QCon, GOTO, OSCON, RailsConf, RubyConf, JavaOne, and NFJS.
Stuart has written a number of books and technical articles. Of these, he is most proud of Programming Clojure.
Learn more about Stu's presentations on his wiki.
More About Stuart »