void (String str) { if(<warning descr="Can be replaced with 'str.length() != 2'">str.length() == 0 || str.length() == 1 || str.length() > 2</warning>) {} if(<warning descr="Can be replaced with 'str.length() != 1'">str.isEmpty() || str.length() > 1</warning>) {} }