Class SimplifyBooleanReturnCheck

  • All Implemented Interfaces:
    Configurable, Contextualizable

    public class SimplifyBooleanReturnCheck
    extends AbstractCheck

    Checks for overly complicated boolean return statements. Idea shamelessly stolen from the equivalent PMD rule (pmd.sourceforge.net).

    An example of how to configure the check is:

     <module name="SimplifyBooleanReturn"/>
     
    Author:
    Lars Kühne