class JavaClass { protected void execute(T t, Runnable r) { r.run(); } }