Use Python class staticmethod syntax to access C++ static member functions,
such as Klass.memberfunction, instead of Klass_memberfunction.
Examples and test-suite changes in preparation for issue #2137.
Java wrapping mechanism doesn't work, showing the
need to use a different way to wrap polymorphic classes.
They are two runtime examples: one for java, which is
failing, and one for python, which works fine.
Detailed description of the case can be found
in the three files committed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5582 626c5289-ae23-0410-ae9c-e8d60b6d4f22