Reflection Machines
Conventional wisdom says that reflection is slow and that it should be avoided. As always, the truth is more nuanced. Let’s start with some code. class Movie { static final List<Movie> BEST_MOVIES = Arrays.asList( new Movie("Back to the Future", 1985), new Movie("…