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, storepublic final IRScope scope
protected MetaObject(IRScope scope)
public static MetaObject create(IRScope scope)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isConstant()
isConstant in class Operandpublic boolean isClass()
public boolean isModule()
public boolean isClosure()
public IRScope getScope()
public Operand getNearestClass()
public Operand getContainer()
public IRClass getTargetClass()
getTargetClass in class Operandpublic RubyModule interpretBody(InterpreterContext interp, ThreadContext context, RubyModule module)
public RubyModule getContainer(InterpreterContext interp, Ruby runtime)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.