open fun <K> foo() where K : T?, K : java.lang.Runnable?