Is your feature request related to a problem? Please describe.
Methods using Boolean
return declaration are not managed by the BooleanGetMethodName
rule.
Describe the solution you'd like
Update the rule to consider the Boolean
wrapper too.
Describe alternatives you've considered
If this is considered as a BC break, I guess a property enabling the detection for the Boolean
type could work.
Additional context
Boolean getFoo() { return true; }<![CDATA[ //MethodDeclaration [starts-with(@Name, 'get')] [@Arity = 0 or $checkParameterizedMethods = true()] [ PrimitiveType[@Kind = 'boolean'] and @Overridden = false() ] ]]>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4