How to trigger groovy "conditional" related inspections
Is there any sample code that can trigger the Groovy "Conditional Can Be Elvis" or "Conditional can be conditional call" inspections?
None of my sample code that /should/ trigger these inspections produces them. I looked at the source code and I don't see any test case for these. I can't get the inspection fire.
Any ideas? Is there a test case somewhere I am missing?
Thanks,
Please sign in to leave a comment.
foo != null ? foo.toString() : null