A DynamicMethod wrapper that performs timed profiling for each call.
<init>(org.jruby.internal.runtime.methods.DynamicMethod delegate)getArgumentDescriptors() · also: get_argument_descriptorscall(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name)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(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(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(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.builtin.IRubyObject[] args)call(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, org.jruby.RubyModule clazz, String name, org.jruby.runtime.Block block)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(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(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(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)setRuby2Keywords()adjustAliasCount(int delta)getAliasCount() · also: get_alias_countsetCallConfig(org.jruby.internal.runtime.methods.CallConfiguration callConfig) · also: set_call_configcallRespondTo(org.jruby.runtime.ThreadContext context, org.jruby.runtime.builtin.IRubyObject self, String respondToMethodName, org.jruby.RubyModule klazz, org.jruby.RubySymbol name)Get the original owner of this method/
Returns: the module method was defined in
setDefinedClass(org.jruby.RubyModule definedClass) · also: set_defined_classSet the defining class for this method, as when restructuring hierarchy for prepend.
| name | type | description |
|---|---|---|
| defined_class | org.jruby.RubyModule | that method was defined in |
isNull() · also: is_nullWhether 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
isUndefined() · also: is_undefinedWhether 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
isBuiltin() · also: is_builtinequals(Object other)getHandle() · also: get_handlesetHandle(Object handle) · also: set_handlehashCode()setImplementationClass(org.jruby.RubyModule implClass) · also: set_implementation_classgetInstanceVariableNames() · also: get_instance_variable_namessetIsBuiltin(boolean isBuiltin) · also: set_is_builtinisCallableFrom(org.jruby.runtime.builtin.IRubyObject caller, org.jruby.runtime.CallType callType)getName() · also: get_nameisNative() · also: is_nativesetNotImplemented(boolean setNotImplemented) · also: set_not_implementedisNotImplemented() · also: is_not_implementedisRefined() · also: is_refinedgetSerialNumber() · also: get_serial_numbersetVisibility(org.jruby.runtime.Visibility visibility) · also: set_visibility