Came across a reference to this paper on a discussion on JavaLobby about Reflection API Performance.
Ok, so it's sort of a hack. But I suppose if you want to get truly dynamic behavior out of Java, it's the only path. Amounts to generating classes on the fly that do the delegation to the appropriate objects. If Sun ever really wants to help these kinds of efforts, the number one thing they could do is add a doesNotUnderstand: method to the method invocation that could be overidden by the classes.
Posted to OOP by Chris Rathman on 10/24/01; 12:39:45 PM