org.jruby.internal.runtime.methods
Class FullFunctionCallbackMethod
java.lang.Object
org.jruby.internal.runtime.methods.DynamicMethod
org.jruby.internal.runtime.methods.FullFunctionCallbackMethod
public class FullFunctionCallbackMethod
- extends DynamicMethod
Method Summary |
DynamicMethod |
dup()
|
Arity |
getArity()
|
Callback |
getCallback()
|
IRubyObject |
internalCall(ThreadContext context,
RubyModule clazz,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
boolean noSuper,
Block block)
|
void |
postMethod(ThreadContext context)
|
void |
preMethod(ThreadContext context,
RubyModule clazz,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
boolean noSuper,
Block block)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullFunctionCallbackMethod
public FullFunctionCallbackMethod(RubyModule implementationClass,
Callback callback,
Visibility visibility)
preMethod
public void preMethod(ThreadContext context,
RubyModule clazz,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
boolean noSuper,
Block block)
- Specified by:
preMethod
in class DynamicMethod
postMethod
public void postMethod(ThreadContext context)
- Specified by:
postMethod
in class DynamicMethod
internalCall
public IRubyObject internalCall(ThreadContext context,
RubyModule clazz,
IRubyObject self,
java.lang.String name,
IRubyObject[] args,
boolean noSuper,
Block block)
- Specified by:
internalCall
in class DynamicMethod
getCallback
public Callback getCallback()
getArity
public Arity getArity()
- Overrides:
getArity
in class DynamicMethod
dup
public DynamicMethod dup()
- Specified by:
dup
in class DynamicMethod
Copyright © 2002-2007 JRuby Team. All Rights Reserved.