Earlier versions of this class required an instance of a class for both static and instance methods. Note, though, that if a target object is specified that the search for the best method includes both instance and static methods, which is consistent with Java dispatch semantics. It is also possible to specify a constructor using the instance of Class representing the desired class to instantiate. The reflective invocation implementation now accepts null in the argument list where possible. This is really a fix for a bug that was uncovered in implementing the new design.
Caveats There are some limitations in the current implementation.
This package has only been tested with Java 1.1.x. I have not investigated the changes to reflection in Java 1.2, although I do know there have been some. As I understand it, Java 1.2 is a little less restrictive in regards to the visibility of the method to be invoked, and on the visibility of the class in which the method is defined. This package does not reflect those changes. This package should still work with public methods for instances of public classes.