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:
MethodArgs, PositionAware

public class TraceableInterpretedMethod
extends InterpretedMethod


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jruby.internal.runtime.methods.DynamicMethod
DynamicMethod.NativeCall
 
Field Summary
 
Fields inherited from class org.jruby.internal.runtime.methods.DynamicMethod
builtin, callConfig, implementationClass, name, nativeCall, notImplemented, protectedClass, serialNumber, visibility
 
Constructor Summary
TraceableInterpretedMethod(RubyModule implementationClass, StaticScope staticScope, Node body, java.lang.String name, 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  boolean isTraceable()
           
 
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, getFile, getLine, getPosition, getStaticScope, post, pre
 
Methods inherited from class org.jruby.internal.runtime.methods.DynamicMethod
calculateProtectedClass, getCallConfig, getImplementationClass, getName, getNativeCall, getProtectedClass, getRealMethod, getSerialNumber, getVisibility, handleBreak, handleRedo, handleReturn, init, isBuiltin, isCallableFrom, isNative, isNotImplemented, isUndefined, setCallConfig, setImplementationClass, setIsBuiltin, setName, setNativeCall, setNotImplemented, 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,
                                  StaticScope staticScope,
                                  Node body,
                                  java.lang.String name,
                                  ArgsNode argsNode,
                                  Visibility visibility,
                                  ISourcePosition position)
Method Detail

isTraceable

protected boolean isTraceable()
Overrides:
isTraceable 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.