Java generics and overloading with Groovy

好久不见. 提交于 2019-12-01 07:34:57

Just hit this issue myself using EasyMock 3.0. However it looks like it's been resolved as of EasyMock 3.2 by renaming all the methods that took wrapped primitives and leaving just one remaining capture method.

Check the 3.2 docs for more info: http://easymock.org/api/easymock/3.2/org/easymock/EasyMock.html#capture%28org.easymock.Capture%29

Try to use @CompileStatic of Groovy 2.0 - may be it will resolve your problem

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!