public class MetaObject extends Operand
Modifier and Type | Field and Description |
---|---|
IRScope |
scope |
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
MetaObject(IRScope scope) |
Modifier and Type | Method and Description |
---|---|
static MetaObject |
create(IRScope scope) |
Operand |
getContainer() |
RubyModule |
getContainer(InterpreterContext interp,
Ruby runtime) |
Operand |
getNearestClass()
Find the closest ClassMetaObject that contains this metaobject.
|
IRScope |
getScope() |
IRClass |
getTargetClass() |
RubyModule |
interpretBody(InterpreterContext interp,
ThreadContext context,
RubyModule module) |
boolean |
isClass() |
boolean |
isClosure() |
boolean |
isConstant() |
boolean |
isModule() |
java.lang.String |
toString() |
addUsedVariables, cloneForInlining, fetchCompileTimeArrayElement, getSimplifiedOperand, getValue, isNonAtomicValue, retrieve, store
public final IRScope scope
protected MetaObject(IRScope scope)
public static MetaObject create(IRScope scope)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isConstant()
isConstant
in class Operand
public boolean isClass()
public boolean isModule()
public boolean isClosure()
public IRScope getScope()
public Operand getNearestClass()
public Operand getContainer()
public IRClass getTargetClass()
getTargetClass
in class Operand
public RubyModule interpretBody(InterpreterContext interp, ThreadContext context, RubyModule module)
public RubyModule getContainer(InterpreterContext interp, Ruby runtime)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.