org.jruby.internal.runtime.methods
Class AbstractMethod

java.lang.Object
  extended byorg.jruby.internal.runtime.methods.AbstractMethod
All Implemented Interfaces:
ICallable
Direct Known Subclasses:
AliasMethod, CallbackMethod, DefaultMethod, EvaluateMethod, IterateMethod, MethodMethod, ProcMethod, UndefinedMethod, WrapperCallable

public abstract class AbstractMethod
extends java.lang.Object
implements ICallable

Version:
$Revision: 1.3 $
Author:
jpetersen

Constructor Summary
protected AbstractMethod(Visibility visibility)
           
 
Method Summary
 Arity getArity()
           
 RubyModule getImplementationClass()
           
 Visibility getVisibility()
           
 void initializeCacheEntry(CacheEntry cacheEntry)
           
 boolean isUndefined()
           
 void setImplementationClass(RubyModule implClass)
           
 void setVisibility(Visibility visibility)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jruby.runtime.ICallable
call, dup
 

Constructor Detail

AbstractMethod

protected AbstractMethod(Visibility visibility)
Method Detail

getImplementationClass

public RubyModule getImplementationClass()
Specified by:
getImplementationClass in interface ICallable

setImplementationClass

public void setImplementationClass(RubyModule implClass)
Specified by:
setImplementationClass in interface ICallable

getVisibility

public Visibility getVisibility()
Specified by:
getVisibility in interface ICallable

setVisibility

public void setVisibility(Visibility visibility)
Specified by:
setVisibility in interface ICallable

isUndefined

public boolean isUndefined()
Specified by:
isUndefined in interface ICallable

getArity

public Arity getArity()
Specified by:
getArity in interface ICallable

initializeCacheEntry

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


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.