org.jruby.internal.runtime.methods
Class JavaMethod.JavaMethodZeroOrOne
java.lang.Object
org.jruby.internal.runtime.methods.DynamicMethod
org.jruby.internal.runtime.methods.JavaMethod
org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZeroOrOne
- All Implemented Interfaces:
- java.lang.Cloneable, JumpTarget
- Enclosing class:
- JavaMethod
public abstract static class JavaMethod.JavaMethodZeroOrOne
- extends JavaMethod
Nested classes/interfaces inherited from class org.jruby.internal.runtime.methods.JavaMethod |
JavaMethod.JavaMethodNoBlock, JavaMethod.JavaMethodOne, JavaMethod.JavaMethodOneBlock, JavaMethod.JavaMethodOneOrTwo, JavaMethod.JavaMethodOneOrTwoBlock, JavaMethod.JavaMethodOneOrTwoOrThree, JavaMethod.JavaMethodThree, JavaMethod.JavaMethodThreeBlock, JavaMethod.JavaMethodTwo, JavaMethod.JavaMethodTwoBlock, JavaMethod.JavaMethodTwoOrThree, JavaMethod.JavaMethodZero, JavaMethod.JavaMethodZeroBlock, JavaMethod.JavaMethodZeroOrOne, JavaMethod.JavaMethodZeroOrOneOrTwo |
Method Summary |
abstract IRubyObject |
call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
java.lang.String name)
|
abstract IRubyObject |
call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
java.lang.String name,
IRubyObject arg)
|
IRubyObject |
call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
java.lang.String name,
IRubyObject[] args,
Block block)
Call the method |
Methods inherited from class org.jruby.internal.runtime.methods.JavaMethod |
dup, getArgumentTypes, getArity, getJavaName, handleReturnJump, isNative, isSingleton, post, pre, setArgumentTypes, setArity, setJavaName, setSingleton |
Methods inherited from class org.jruby.internal.runtime.methods.DynamicMethod |
call, call, call, call, call, call, call, getCallConfig, getImplementationClass, getRealMethod, getVisibility, isCallableFrom, isUndefined, setCallConfig, setImplementationClass, setVisibility |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaMethod.JavaMethodZeroOrOne
public JavaMethod.JavaMethodZeroOrOne(RubyModule implementationClass,
Visibility visibility)
JavaMethod.JavaMethodZeroOrOne
public JavaMethod.JavaMethodZeroOrOne(RubyModule implementationClass,
Visibility visibility,
CallConfiguration callConfig,
StaticScope staticScope,
Arity arity)
JavaMethod.JavaMethodZeroOrOne
public JavaMethod.JavaMethodZeroOrOne(RubyModule implementationClass,
Visibility visibility,
int methodIndex)
call
public abstract IRubyObject call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
java.lang.String name)
- Overrides:
call
in class DynamicMethod
call
public abstract IRubyObject call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
java.lang.String name,
IRubyObject arg)
- Overrides:
call
in class DynamicMethod
call
public IRubyObject call(ThreadContext context,
IRubyObject self,
RubyModule clazz,
java.lang.String name,
IRubyObject[] args,
Block block)
- Description copied from class:
DynamicMethod
- Call the method
- Specified by:
call
in class JavaMethod
- Parameters:
context
- is the thread-specific information that this method is being invoked on
Copyright © 2002-2007 JRuby Team. All Rights Reserved.