typetools icon indicating copy to clipboard operation
typetools copied to clipboard

It can't resolve the real type of lambda when working with JRebel

Open alex-lx opened this issue 6 years ago • 2 comments
trafficstars

It seems JRebel generated some methods on classes, and in net.jodah.typetools.TypeResolver#getMemberRef just returned JRebel's method which IMO it should be ignored.

alex-lx avatar Mar 09 '19 14:03 alex-lx

I'm guessing the impact of this is it causes the wrong method to be matched resulting in a failed type resolution?

Happy to take a PR for this if there's a reasonably clean way of excluding JRebel methods.

jhalterman avatar Apr 26 '19 04:04 jhalterman

Hi @jhalterman, I don't find any clear reference about what does JRebel do. After testing on my computer, I find all JRebel's members declaring class name are starting with "com.zeroturnaround.jrebelbase.facade.". Do you think it's a reasonably clean way?

alex-lx avatar Apr 26 '19 09:04 alex-lx