I\'m using SWIG 4.0.2 to wrap a C++ library to use from Java code. One of the classes has a tricky function that I\'m having difficulties to wrap:
class Bar { ...