throws(javaClass(), javaClass()) fun foo()