work around different lambda inspect output on 2-99 with JRuby due to mocks