def __tojava__(self, java_class):
        if java_class not in (BigDecimal, Object):
            return Py.NoConversion
        return BigDecimal(str(self))
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/decimal.py/Decimal.__tojava__/original