class JavaClass { void doSomething(Runnable i) { i.run(); } }