jruby/docs BETA
Navigation
org.jruby.internal.runtime.methods 34
C AliasMethod
C AttrReaderMethod
C AttrWriterMethod
I CacheableMethod
E CallConfiguration
C CompiledIRMethod
C CompiledIRNoProtocolMethod
C DefineMethodMethod
C DelegatingDynamicMethod
C DescriptorInfo
C DumpingInvocationMethodFactory
C DynamicMethod
C ExitableReturn
E Framing
C HandleMethod
I IRMethodArgs
C InterpretedIRBodyMethod
C InterpretedIRMethod
C InvocationMethodFactory
C InvokeDynamicMethodFactory
C JavaMethod
I MethodArgs2
C MethodMethod
C MixedModeIRMethod
I NativeCallMethod
C NullMethod
C PartialDelegatingMethod
C ProcMethod
C ProfilingDynamicMethod
C RefinedMarker
C RefinedWrapper
E Scoping
C SynchronizedDynamicMethod
C UndefinedMethod
SynchronizedDynamicMethod — members 14+
C new(delegate)
M call(context, self, clazz, name) IRubyObject
M call(context, self, clazz, name, arg0) IRubyObject
M call(context, self, clazz, name, arg0, arg1) IRubyObject
M call(context, self, clazz, name, arg0, arg1, arg2) IRubyObject
M call(context, self, clazz, name, args) IRubyObject
M call(context, self, clazz, name, block) IRubyObject
M call(context, self, clazz, name, arg0, block) IRubyObject
M call(context, self, clazz, name, arg0, arg1, block) IRubyObject
M call(context, self, clazz, name, arg0, arg1, arg2, block) IRubyObject
M call(context, self, clazz, name, args, block) IRubyObject
M dup() DynamicMethod
M native?() boolean
C set_ruby2_keywords()
from DynamicMethod
C adjust_alias_count(delta)
M alias_count() int
M call_respond_to(context, self, respond_to_method_name, klazz, name) boolean
M defined_class() RubyModule
C defined_class=(defined_class)
M null?() boolean
M undefined?() boolean
from DelegatingDynamicMethod
M builtin?() boolean
M delegate() DynamicMethod
M equals(other) boolean
M handle() Object
C handle=(handle)
M hash_code() int
M implementation_class() RubyModule
C implementation_class=(impl_class)
M instance_variable_names() Collection<String>
C is_builtin=(is_builtin)
M is_callable_from(caller, call_type) boolean
M is_implemented_by(other) boolean
M method_data() MethodData
M name() String
C not_implemented=(set_not_implemented)
M not_implemented?() boolean
M real_method() DynamicMethod
M refined?() boolean
M serial_number() long
M signature() Signature
M visibility() Visibility
C visibility=(visibility)

org.jruby.internal.runtime.methods.SynchronizedDynamicMethod

class extends DelegatingDynamicMethod 14 members

Constructors

new

new ( DynamicMethod delegate )
Java: <init>(org.jruby.internal.runtime.methods.DynamicMethod delegate)

Instance Methods

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject arg0)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2 )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject[] args)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject arg0, org.jruby.runtime.builtin.IRubyObject arg1, org.jruby.runtime.builtin.IRubyObject arg2, org.jruby.runtime.Block block)

call

IRubyObject call ( ThreadContext context, IRubyObject self, RubyModule clazz, String name, IRubyObject[] args, Block block )
Java: call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject[] args, org.jruby.runtime.Block block)

dup

DynamicMethod dup ( )
Java: dup()

native?

boolean native? ( )
Java: isNative() · also: is_native

set_ruby2_keywords

set_ruby2_keywords ( )
Java: setRuby2Keywords()

Inherited

from DynamicMethod

adjust_alias_count

adjust_alias_count ( int delta )
Java: adjustAliasCount(int delta)

alias_count

int alias_count ( )
Java: getAliasCount() · also: get_alias_count

call_respond_to

boolean call_respond_to ( ThreadContext context, IRubyObject self, String respond_to_method_name, RubyModule klazz, RubySymbol name )
Java: callRespondTo(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, String respondToMethodName, org.jruby.RubyModule klazz, org.jruby.RubySymbol name)

defined_class

RubyModule defined_class ( )
Java: getDefinedClass() · also: get_defined_class

Get the original owner of this method/

Returns: the module method was defined in

defined_class=

defined_class= ( RubyModule defined_class )
Java: setDefinedClass(org.jruby.RubyModule definedClass) · also: set_defined_class

Set the defining class for this method, as when restructuring hierarchy for prepend.

nametypedescription
defined_classorg.jruby.RubyModulethat method was defined in

null?

boolean null? ( )
Java: isNull() · also: is_null

Whether this method is the "null" method, used to stop method name resolution loops. Only returns true for NullMethod instances, of which there should be only one (a singleton).

Returns: true if this method is the undefined method; false otherwise

undefined?

boolean undefined? ( )
Java: isUndefined() · also: is_undefined

Whether this method is the "undefined" method, used to represent a missing or undef'ed method. Only returns true for UndefinedMethod instances, of which there should be only one (a singleton).

Returns: true if this method is the undefined method; false otherwise

from DelegatingDynamicMethod

builtin?

boolean builtin? ( )
Java: isBuiltin() · also: is_builtin

delegate

DynamicMethod delegate ( )
Java: getDelegate() · also: get_delegate

equals

boolean equals ( Object other )
Java: equals(Object other)

handle

Object handle ( )
Java: getHandle() · also: get_handle

handle=

handle= ( Object handle )
Java: setHandle(Object handle) · also: set_handle

hash_code

int hash_code ( )
Java: hashCode()

implementation_class

RubyModule implementation_class ( )
Java: getImplementationClass() · also: get_implementation_class

implementation_class=

implementation_class= ( RubyModule impl_class )
Java: setImplementationClass(org.jruby.RubyModule implClass) · also: set_implementation_class

instance_variable_names

Collection<String> instance_variable_names ( )
Java: getInstanceVariableNames() · also: get_instance_variable_names

is_builtin=

is_builtin= ( boolean is_builtin )
Java: setIsBuiltin(boolean isBuiltin) · also: set_is_builtin

is_callable_from

boolean is_callable_from ( IRubyObject caller, CallType call_type )
Java: isCallableFrom(org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.CallType callType)

is_implemented_by

boolean is_implemented_by ( RubyModule other )
Java: isImplementedBy(org.jruby.RubyModule other)

method_data

MethodData method_data ( )
Java: getMethodData() · also: get_method_data

name

String name ( )
Java: getName() · also: get_name

not_implemented=

not_implemented= ( boolean set_not_implemented )
Java: setNotImplemented(boolean setNotImplemented) · also: set_not_implemented

not_implemented?

boolean not_implemented? ( )
Java: isNotImplemented() · also: is_not_implemented

real_method

DynamicMethod real_method ( )
Java: getRealMethod() · also: get_real_method

refined?

boolean refined? ( )
Java: isRefined() · also: is_refined

serial_number

long serial_number ( )
Java: getSerialNumber() · also: get_serial_number

signature

Signature signature ( )
Java: getSignature() · also: get_signature

visibility

Visibility visibility ( )
Java: getVisibility() · also: get_visibility

visibility=

visibility= ( Visibility visibility )
Java: setVisibility(org.jruby.runtime.Visibility visibility) · also: set_visibility