Examples of fastGetInternalVariable()


Examples of org.jruby.RubyModule.fastGetInternalVariable()

        if (args.length == 0) {
            if (!m.hasInternalVariable("native_type")) {
                throw context.getRuntime().newNotImplementedError("native_type method not overridden and no native_type set");
            }

            return (Type) m.fastGetInternalVariable("native_type");

        } else if (args.length == 1) {
            Type type = Util.findType(context, args[0]);

            m.fastSetInternalVariable("native_type", type);
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.