This rule finds places where StringBuffer.toString() is called just to see if
the string is 0 length by either using .equals("") or toString().length()
StringBuffer sb = new StringBuffer("some string");
if (sb.toString().equals("")) {
// this is wrong
}
if (sb.length() == 0) {
// this is right
}