org.jruby.internal.runtime.methods
Class TraceableInterpretedMethod

java.lang.Object
  extended by org.jruby.internal.runtime.methods.DynamicMethod
      extended by org.jruby.internal.runtime.methods.InterpretedMethod
          extended by org.jruby.internal.runtime.methods.TraceableInterpretedMethod
All Implemented Interfaces:
JumpTarget, MethodArgs

public class TraceableInterpretedMethod
extends InterpretedMethod


Field Summary
 
Fields inherited from class org.jruby.internal.runtime.methods.DynamicMethod
callConfig, implementationClass, protectedClass, serialNumber, visibility
 
Constructor Summary
TraceableInterpretedMethod(RubyModule implementationClass, java.lang.String name, StaticScope staticScope, Node body, ArgsNode argsNode, Visibility visibility, ISourcePosition position)
           
 
Method Summary
 DynamicMethod dup()
          Duplicate this method, returning DynamicMethod referencing the same code and with the same attributes.
protected  void post(Ruby runtime, ThreadContext context, java.lang.String name)
           
protected  void pre(ThreadContext context, java.lang.String name, IRubyObject self, Block block, Ruby runtime)
           
 
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
 

Constructor Detail

TraceableInterpretedMethod

public TraceableInterpretedMethod(RubyModule implementationClass,
                                  java.lang.String name,
                                  StaticScope staticScope,
                                  Node body,
                                  ArgsNode argsNode,
                                  Visibility visibility,
                                  ISourcePosition position)
Method Detail

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.