// This rule specifies the regexp for a method
returning a
// boolean value. In general a method returning a boolen
// is phrased like a question and should normally comply
// to isEmpty(), hasMoreElements(), areBlack(), ...
// Here you can specify a regexp which describes the
// name for methods returning a boolean value.
// excpected
...
if (tank.isEmpty())
{
tank.fillUp();
}
...
// hard to read
...
if (tank.getEmpty())
{
tank.fillUp();
}
...