gradle/gradle — pull request #72 by quidryan (2012-03-14 07:20:53+00:00)
Title: GRADLE-2163 Added additional getter to boolean types

(sorry for the repeat, I'm cleaning up branches on my side)

I added the test first, and it failed. Once I made my changes, it then passed. I'm not sure about the approach of checking for boolean properties, specifically creating a immutable Set every call to addGetter, but it's definitely cleaner than doing a huge or statement, e.g. getter.getReturnType().equals(boolean.class) || getter.getReturnType().equals(Boolean.class).