void (@Nullable Content content) { for (Listener each : myDockingListeners) { // dirty hack to not pass null here, listener implementation do not take this value into account each.contentRemoved(content != null ? content : new Object()); } }