class JavaClass { boolean contains(Runnable i) { i.run(); return true; } }