void (Sub[] operands) { operands[0].doSmth(); if (<warning descr="Condition 'operands[0] instanceof Base' is redundant and can be replaced with a null check">operands[0] instanceof Base</warning>) { System.out.println("always"); } }