Examples of dataGetStruct()


Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", args, block);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", args, block);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", block);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", block);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, block);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", arg0, block);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, block);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", arg0, arg1, block);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, arg2, block);
           
            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", arg0, arg1, arg2, block);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", args);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", args);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy");

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!");
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", arg0);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", arg0, arg1);
            }

            return proxy;
        }
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.dataGetStruct()

       
        @Override
        public IRubyObject call(ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) {
            IRubyObject proxy = oldNew.call(context, self, clazz, "new_proxy", arg0, arg1, arg2);

            if (!(proxy.dataGetStruct() instanceof JavaObject)) { // Need to initialize
                RuntimeHelpers.invoke(context, proxy, "__jcreate!", arg0, arg1, arg2);
            }

            return proxy;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.