Package org.jruby.java.invokers

Examples of org.jruby.java.invokers.SingletonMethodInvoker


        }

        void install(RubyModule proxy) {
            if (hasLocalMethod()) {
                RubyClass rubySingleton = proxy.getSingletonClass();
                DynamicMethod method = new SingletonMethodInvoker(this.singleton, rubySingleton, methods);
                rubySingleton.addMethod(name, method);
                if (aliases != null && isPublic()) {
                    rubySingleton.defineAliases(aliases, this.name);
                    aliases = null;
                }
View Full Code Here


        void install(RubyModule proxy) {
            // we don't check haveLocalMethod() here because it's not local and we know
            // that we always want to go ahead and install it
            RubyClass rubySingleton = proxy.getSingletonClass();
            DynamicMethod method = new SingletonMethodInvoker(this.singleton, rubySingleton, methods);
            rubySingleton.addMethod(name, method);
            if (aliases != null && isPublic()) {
                rubySingleton.defineAliases(aliases, this.name);
                aliases = null;
            }
View Full Code Here

        void install(RubyModule proxy) {
            // we don't check haveLocalMethod() here because it's not local and we know
            // that we always want to go ahead and install it
            RubyClass rubySingleton = proxy.getSingletonClass();
            DynamicMethod method = new SingletonMethodInvoker(this.singleton, rubySingleton, methods);
            rubySingleton.addMethod(name, method);
            if (aliases != null && isPublic()) {
                rubySingleton.defineAliases(aliases, this.name);
                aliases = null;
            }
View Full Code Here

TOP

Related Classes of org.jruby.java.invokers.SingletonMethodInvoker

Copyright © 2018 www.massapicom. 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.