@JRubyMethod(name = "callcc", frame = true, module = true, visibility = PRIVATE)
public static IRubyObject callcc(ThreadContext context, IRubyObject recv, Block block) {
Ruby runtime = context.getRuntime();
runtime.getWarnings().warn(ID.EMPTY_IMPLEMENTATION, "Kernel#callcc: Continuations are not implemented in JRuby and will not work", "Kernel#callcc");
IRubyObject cc = runtime.getContinuation().callMethod(context, "new");
cc.dataWrapStruct(block);
return block.yield(context, cc);
}
@JRubyMethod(name = "caller", optional = 1, frame = true, module = true, visibility = PRIVATE)
public static IRubyObject caller(ThreadContext context, IRubyObject recv, IRubyObject[] args, Block block) {