import org.jruby.runtime.builtin.IRubyObject;
public class JavaProxyMethods {
public static RubyModule createJavaProxyMethods(ThreadContext context) {
Ruby runtime = context.getRuntime();
RubyModule javaProxyMethods = runtime.defineModule("JavaProxyMethods");
javaProxyMethods.addReadWriteAttribute(context, "java_object");
javaProxyMethods.defineAnnotatedMethods(JavaProxyMethods.class);
return javaProxyMethods;
}