org.jruby.internal.runtime.methods
Class TraceableInterpretedMethod
java.lang.Object
org.jruby.internal.runtime.methods.DynamicMethod
org.jruby.internal.runtime.methods.InterpretedMethod
org.jruby.internal.runtime.methods.TraceableInterpretedMethod
- All Implemented Interfaces:
- JumpTarget, MethodArgs
public class TraceableInterpretedMethod
- extends InterpretedMethod
Methods inherited from class org.jruby.internal.runtime.methods.InterpretedMethod |
call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, call, getArgsNode, getArity, getBodyNode, getPosition, getStaticScope |
Methods inherited from class org.jruby.internal.runtime.methods.DynamicMethod |
calculateProtectedClass, getCallConfig, getImplementationClass, getProtectedClass, getRealMethod, getSerialNumber, getVisibility, handleRedo, handleReturn, init, isCallableFrom, isNative, isUndefined, setCallConfig, setImplementationClass, setVisibility |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceableInterpretedMethod
public TraceableInterpretedMethod(RubyModule implementationClass,
java.lang.String name,
StaticScope staticScope,
Node body,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position)
pre
protected void pre(ThreadContext context,
java.lang.String name,
IRubyObject self,
Block block,
Ruby runtime)
- Overrides:
pre
in class InterpretedMethod
post
protected void post(Ruby runtime,
ThreadContext context,
java.lang.String name)
- Overrides:
post
in class InterpretedMethod
dup
public DynamicMethod dup()
- Description copied from class:
DynamicMethod
- Duplicate this method, returning DynamicMethod referencing the same code
and with the same attributes.
It is not required that this method produce a new object if the
semantics of the DynamicMethod subtype do not require such.
- Overrides:
dup
in class InterpretedMethod
- Returns:
- An identical DynamicMethod object to the target.
Copyright © 2002-2009 JRuby Team. All Rights Reserved.