org.jruby.compiler.ir.operands
Class MethodHandle

java.lang.Object
  extended by org.jruby.compiler.ir.operands.Operand
      extended by org.jruby.compiler.ir.operands.MethodHandle

public class MethodHandle
extends Operand


Field Summary
protected  Operand methodName
           
protected  Operand receiver
           
 
Fields inherited from class org.jruby.compiler.ir.operands.Operand
EMPTY_ARRAY
 
Constructor Summary
MethodHandle(Operand methodName, Operand receiver)
           
 
Method Summary
 Operand cloneForInlining(InlinerInfo ii)
           
 Operand getMethodNameOperand()
           
 IRubyObject getReceiverObj()
           
 DynamicMethod getResolvedMethod()
           
 java.lang.String getResolvedMethodName()
           
 Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
           
 java.lang.Object retrieve(InterpreterContext interp)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jruby.compiler.ir.operands.Operand
addUsedVariables, fetchCompileTimeArrayElement, getTargetClass, getValue, isConstant, isNonAtomicValue, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

methodName

protected Operand methodName

receiver

protected Operand receiver
Constructor Detail

MethodHandle

public MethodHandle(Operand methodName,
                    Operand receiver)
Method Detail

getMethodNameOperand

public Operand getMethodNameOperand()

getResolvedMethod

public DynamicMethod getResolvedMethod()

getResolvedMethodName

public java.lang.String getResolvedMethodName()

getReceiverObj

public IRubyObject getReceiverObj()

getSimplifiedOperand

public Operand getSimplifiedOperand(java.util.Map<Operand,Operand> valueMap)
Overrides:
getSimplifiedOperand in class Operand

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

cloneForInlining

public Operand cloneForInlining(InlinerInfo ii)
Overrides:
cloneForInlining in class Operand

retrieve

public java.lang.Object retrieve(InterpreterContext interp)
Overrides:
retrieve in class Operand


Copyright © 2002-2009 JRuby Team. All Rights Reserved.