void (Object a) { if (a instanceof B) { A aa =(A) a; if (<warning descr="Condition 'a instanceof A' is always 'true'">a instanceof A</warning>) { System.out.println("HeHe"); } System.out.println(aa); } }