void (@NotNull Document document) { if (LOG.isDebugEnabled()) { LOG.debug("Kill ring reset for " + document); } if (!myData.isEmpty()) { Transferable top = myData.get(0); if (top instanceof KillRingTransferable && document == ((KillRingTransferable)top).getDocument()) { doStopKillRings(); } } }