org.jruby.internal.runtime.methods
Class AliasMethod

java.lang.Object
  extended byorg.jruby.internal.runtime.methods.AbstractMethod
      extended byorg.jruby.internal.runtime.methods.AliasMethod
All Implemented Interfaces:
ICallable

public class AliasMethod
extends AbstractMethod

Version:
$Revision: 1.4 $
Author:
jpetersen

Constructor Summary
AliasMethod(ICallable oldMethod, java.lang.String oldName)
           
 
Method Summary
 IRubyObject call(Ruby ruby, IRubyObject receiver, java.lang.String name, IRubyObject[] args, boolean noSuper)
           
 ICallable dup()
           
 ICallable getOldMethod()
           
 java.lang.String getOldName()
           
 RubyModule getOrigin()
           
 void initializeCacheEntry(CacheEntry cacheEntry)
           
 
Methods inherited from class org.jruby.internal.runtime.methods.AbstractMethod
getArity, getImplementationClass, getVisibility, isUndefined, setImplementationClass, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AliasMethod

public AliasMethod(ICallable oldMethod,
                   java.lang.String oldName)
Method Detail

call

public IRubyObject call(Ruby ruby,
                        IRubyObject receiver,
                        java.lang.String name,
                        IRubyObject[] args,
                        boolean noSuper)

getOldMethod

public ICallable getOldMethod()

getOldName

public java.lang.String getOldName()

getOrigin

public RubyModule getOrigin()

initializeCacheEntry

public void initializeCacheEntry(CacheEntry cacheEntry)
Specified by:
initializeCacheEntry in interface ICallable
Overrides:
initializeCacheEntry in class AbstractMethod

dup

public ICallable dup()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.