I did not realize this EventHandler capability is in Java 1.4.
This is kind of ugly, since the API is essentially interpreting strings for names. (Think Class.forName
only funner.)
This is kind of confusing, since on the one hand Java is heading toward more static notations with generics. Yet on the other, this EventHandler feature is capitulating to the need for dynamic reflection without a bunch of new syntax.
No comments:
Post a Comment