Rule that checks for direct call to Boolean constructor - use Boolean.valueOf() instead. Also checks for Boolean.valueOf(true) or Boolean.valueOf(false) - use Boolean.TRUE or Boolean.FALSE instead.
Type | Name and description |
---|---|
Class |
astVisitorClass |
String |
name |
int |
priority |