Package org.jruby.internal.runtime.methods

Examples of org.jruby.internal.runtime.methods.AliasMethod


                        (isModule() ? "module" : "class") + " `" + getName() + "'", oldName);
            }
        }

        invalidateCacheDescendants();
        putMethod(name, new AliasMethod(this, method, oldName));
    }
View Full Code Here


        }

        for (String name: aliases) {
            if (oldName.equals(name)) continue;

            putMethod(name, new AliasMethod(this, method, oldName));
        }
        invalidateCacheDescendants();
    }
View Full Code Here

            }
        }

        invalidateCoreClasses();
        invalidateCacheDescendants();
        putMethod(name, new AliasMethod(this, method, oldName));
    }
View Full Code Here

        }

        for (String name: aliases) {
            if (oldName.equals(name)) continue;

            putMethod(name, new AliasMethod(this, method, oldName));
        }
        invalidateCoreClasses();
        invalidateCacheDescendants();
    }
View Full Code Here

        testFrozen("module");
        if (oldName.equals(name)) return;

        DynamicMethod method = searchForAliasMethod(getRuntime(), oldName);

        putMethod(name, new AliasMethod(this, method, oldName));

        invalidateCoreClasses();
        invalidateCacheDescendants();
    }
View Full Code Here

        DynamicMethod method = searchForAliasMethod(getRuntime(), oldName);

        for (String name: aliases) {
            if (oldName.equals(name)) continue;

            putMethod(name, new AliasMethod(this, method, oldName));
        }
       
        invalidateCoreClasses();
        invalidateCacheDescendants();
    }
View Full Code Here

        testFrozen("module");
        if (oldName.equals(name)) return;

        DynamicMethod method = searchForAliasMethod(getRuntime(), oldName);

        putMethod(name, new AliasMethod(this, method, oldName));

        methodLocation.invalidateCoreClasses();
        methodLocation.invalidateCacheDescendants();
    }
View Full Code Here

        DynamicMethod method = searchForAliasMethod(getRuntime(), oldName);

        for (String name: aliases) {
            if (oldName.equals(name)) continue;

            putMethod(name, new AliasMethod(this, method, oldName));
        }
       
        methodLocation.invalidateCoreClasses();
        methodLocation.invalidateCacheDescendants();
    }
View Full Code Here

TOP

Related Classes of org.jruby.internal.runtime.methods.AliasMethod

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.