clean Java wrapping
clean swig wrapping