class ExamplePeephole implements Peephole {

  @Override
  public boolean apply(Body b) {<FILL_FUNCTION_BODY>}
}

    boolean changed = false;
    for (Iterator<Unit> it = b.getUnits().iterator(); it.hasNext();) {
      Unit u = it.next();
      if (u instanceof InstanceCastInst) {
        it.remove();
        changed = true;
      }
    }
    return changed;
  
<no_super_class>