| java.lang.Object org.jruby.RubyObject org.jruby.RubyModule org.jruby.RubyClass org.jruby.MetaClass
getRealClass | public RubyClass getRealClass()(Code) | | If an object uses an anonymous class 'class << obj', then this grabs the original
metaclass and not the one that get injected as a result of 'class << obj'.
|
isSingleton | public boolean isSingleton()(Code) | | |
Methods inherited from org.jruby.RubyClass | final public IRubyObject allocate()(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc) public static RubyClass cloneClass(Ruby runtime, RubyClass metaClass, RubyClass superClass, ObjectAllocator allocator, SinglyLinkedList parentCRef, String name)(Code)(Java Doc) public static RubyClass createBootstrapMetaClass(Ruby runtime, String className, RubyClass superClass, ObjectAllocator allocator, SinglyLinkedList cref)(Code)(Java Doc) public static void createClassClass(RubyClass classClass)(Code)(Java Doc) protected IRubyObject doClone()(Code)(Java Doc) public ObjectAllocator getAllocator()(Code)(Java Doc) final public ObjectMarshal getMarshal()(Code)(Java Doc) public int getNativeTypeIndex()(Code)(Java Doc) public RubyClass getRealClass()(Code)(Java Doc) public Ruby getRuntime()(Code)(Java Doc) public static IRubyObject inherited(IRubyObject recv, IRubyObject arg, Block block)(Code)(Java Doc) public static IRubyObject inherited(RubyClass recv)(Code)(Java Doc) public void inheritedBy(RubyClass superType)(Code)(Java Doc) public IRubyObject initialize_copy(IRubyObject original)(Code)(Java Doc) public boolean isClass()(Code)(Java Doc) public boolean isModule()(Code)(Java Doc) public boolean isSingleton()(Code)(Java Doc) final public void marshal(Object obj, MarshalStream marshalStream) throws IOException(Code)(Java Doc) public static void marshalTo(RubyClass clazz, MarshalStream output) throws java.io.IOException(Code)(Java Doc) public static RubyClass newClass(Ruby runtime, RubyClass superClass, SinglyLinkedList parentCRef, String name)(Code)(Java Doc) public static RubyClass newClass(IRubyObject recv, IRubyObject[] args, Block block, boolean invokeInherited)(Code)(Java Doc) public static RubyClass newClass(IRubyObject recv, IRubyObject[] args, Block block)(Code)(Java Doc) public static RubyClass newClassClass(Ruby runtime, RubyClass moduleClass)(Code)(Java Doc) public IRubyObject newInstance(IRubyObject[] args, Block block)(Code)(Java Doc) public RubyClass newSubClass(String name, ObjectAllocator allocator, SinglyLinkedList parentCRef, boolean invokeInherited, boolean warnOnRedefinition)(Code)(Java Doc) public RubyClass newSubClass(String name, ObjectAllocator allocator, SinglyLinkedList parentCRef, boolean warnOnRedefinition)(Code)(Java Doc) final public void setMarshal(ObjectMarshal marshal)(Code)(Java Doc) protected RubyClass subclass()(Code)(Java Doc) public IRubyObject superclass(Block block)(Code)(Java Doc) final public Object unmarshal(UnmarshalStream unmarshalStream) throws IOException(Code)(Java Doc) public static RubyModule unmarshalFrom(UnmarshalStream output) throws java.io.IOException(Code)(Java Doc)
|
Methods inherited from org.jruby.RubyModule | public void addClassProvider(ClassProvider provider)(Code)(Java Doc) public void addMethod(String name, DynamicMethod method)(Code)(Java Doc) public void addModuleFunction(String name, DynamicMethod method)(Code)(Java Doc) public RubyModule alias_method(IRubyObject newId, IRubyObject oldId)(Code)(Java Doc) public RubyArray ancestors()(Code)(Java Doc) public RubyModule append_features(IRubyObject module)(Code)(Java Doc) public IRubyObject attr(IRubyObject[] args)(Code)(Java Doc) public IRubyObject attr_accessor(IRubyObject[] args)(Code)(Java Doc) public IRubyObject attr_reader(IRubyObject[] args)(Code)(Java Doc) public IRubyObject attr_writer(IRubyObject[] args)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc) public IRubyObject class_variable_get(IRubyObject var)(Code)(Java Doc) public IRubyObject class_variable_set(IRubyObject var, IRubyObject value)(Code)(Java Doc) public RubyArray class_variables()(Code)(Java Doc) protected IRubyObject cloneMethods(RubyModule clone)(Code)(Java Doc) public RubyBoolean const_defined(IRubyObject symbol)(Code)(Java Doc) public IRubyObject const_get(IRubyObject symbol)(Code)(Java Doc) public IRubyObject const_missing(IRubyObject name, Block block)(Code)(Java Doc) public IRubyObject const_set(IRubyObject symbol, IRubyObject value)(Code)(Java Doc) public RubyArray constants()(Code)(Java Doc) public static RubyClass createModuleClass(Ruby runtime, RubyClass moduleClass)(Code)(Java Doc) public synchronized void defineAlias(String name, String oldName)(Code)(Java Doc) public RubyClass defineClassUnder(String name, RubyClass superClazz, ObjectAllocator allocator)(Code)(Java Doc) public void defineConstant(String name, IRubyObject value)(Code)(Java Doc) public void defineFastMethod(String name, Callback method)(Code)(Java Doc) public void defineFastMethod(String name, Callback method, Visibility visibility)(Code)(Java Doc) public void defineFastModuleFunction(String name, Callback method)(Code)(Java Doc) public void defineFastPrivateMethod(String name, Callback method)(Code)(Java Doc) public void defineFastProtectedMethod(String name, Callback method)(Code)(Java Doc) public void defineFastPublicModuleFunction(String name, Callback method)(Code)(Java Doc) public void defineMethod(String name, Callback method)(Code)(Java Doc) public void defineModuleFunction(String name, Callback method)(Code)(Java Doc) public RubyModule defineModuleUnder(String name)(Code)(Java Doc) public RubyClass defineOrGetClassUnder(String name, RubyClass superClazz)(Code)(Java Doc) public void definePrivateMethod(String name, Callback method)(Code)(Java Doc) public void definePublicModuleFunction(String name, Callback method)(Code)(Java Doc) public IRubyObject define_method(IRubyObject[] args, Block block)(Code)(Java Doc) protected IRubyObject doClone()(Code)(Java Doc) public IRubyObject executeUnder(Callback method, IRubyObject[] args, Block block)(Code)(Java Doc) public void exportMethod(String name, Visibility visibility)(Code)(Java Doc) public IRubyObject extend_object(IRubyObject obj)(Code)(Java Doc) public IRubyObject extended(IRubyObject other, Block block)(Code)(Java Doc) public RubyModule findImplementer(RubyModule clazz)(Code)(Java Doc) public List getAncestorList()(Code)(Java Doc) public String getBaseName()(Code)(Java Doc) public SinglyLinkedList getCRef()(Code)(Java Doc) public RubyClass getClass(String name)(Code)(Java Doc) public IRubyObject getClassVar(String name)(Code)(Java Doc) public IRubyObject getConstant(String name)(Code)(Java Doc) public IRubyObject getConstantAt(String name)(Code)(Java Doc) public IRubyObject getConstantFrom(String name)(Code)(Java Doc) public Map getMethods()(Code)(Java Doc) public String getName()(Code)(Java Doc) public int getNativeTypeIndex()(Code)(Java Doc) public RubyModule getNonIncludedClass()(Code)(Java Doc) public RubyModule getParent()(Code)(Java Doc) public RubyClass getSuperClass()(Code)(Java Doc) public boolean hasModuleInHierarchy(RubyModule type)(Code)(Java Doc) public RubyFixnum hash()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public RubyModule include(IRubyObject[] modules)(Code)(Java Doc) public synchronized void includeModule(IRubyObject arg)(Code)(Java Doc) public IRubyObject include_p(IRubyObject arg)(Code)(Java Doc) public IRubyObject included(IRubyObject other)(Code)(Java Doc) public RubyArray included_modules()(Code)(Java Doc) public IRubyObject initialize(IRubyObject[] args, Block block)(Code)(Java Doc) public IRubyObject initialize_copy(IRubyObject original)(Code)(Java Doc) public IRubyObject instance_method(IRubyObject symbol)(Code)(Java Doc) public RubyArray instance_methods(IRubyObject[] args)(Code)(Java Doc) public boolean isClass()(Code)(Java Doc) public boolean isClassVarDefined(String name)(Code)(Java Doc) public boolean isIncluded()(Code)(Java Doc) public boolean isKindOfModule(RubyModule type)(Code)(Java Doc) public boolean isMethodBound(String name, boolean checkVisibility)(Code)(Java Doc) public boolean isModule()(Code)(Java Doc) public boolean isSame(RubyModule module)(Code)(Java Doc) public boolean isSingleton()(Code)(Java Doc) public static void marshalTo(RubyModule module, MarshalStream output) throws java.io.IOException(Code)(Java Doc) public IRubyObject method_added(IRubyObject nothing, Block block)(Code)(Java Doc) public RubyBoolean method_defined(IRubyObject symbol)(Code)(Java Doc) public IRubyObject method_removed(IRubyObject nothing, Block block)(Code)(Java Doc) public IRubyObject method_undefined(IRubyObject nothing, Block block)(Code)(Java Doc) public IRubyObject module_eval(IRubyObject[] args, Block block)(Code)(Java Doc) public RubyModule module_function(IRubyObject[] args)(Code)(Java Doc) public RubyString name()(Code)(Java Doc) public static RubyArray nesting(IRubyObject recv, Block block)(Code)(Java Doc) public IncludedModuleWrapper newIncludeClass(RubyClass superClazz)(Code)(Java Doc) public IRubyObject newMethod(IRubyObject receiver, String name, boolean bound)(Code)(Java Doc) public static RubyModule newModule(Ruby runtime, String name)(Code)(Java Doc) public static RubyModule newModule(Ruby runtime, RubyClass type, String name)(Code)(Java Doc) public static RubyModule newModule(Ruby runtime, String name, SinglyLinkedList parentCRef)(Code)(Java Doc) public static RubyModule newModule(Ruby runtime, RubyClass type, String name, SinglyLinkedList parentCRef)(Code)(Java Doc) public IRubyObject op_cmp(IRubyObject obj)(Code)(Java Doc) public RubyBoolean op_eqq(IRubyObject obj)(Code)(Java Doc) public IRubyObject op_ge(IRubyObject obj)(Code)(Java Doc) public IRubyObject op_gt(IRubyObject obj)(Code)(Java Doc) public IRubyObject op_le(IRubyObject obj)(Code)(Java Doc) public IRubyObject op_lt(IRubyObject obj)(Code)(Java Doc) public RubyModule private_class_method(IRubyObject[] args)(Code)(Java Doc) public RubyArray private_instance_methods(IRubyObject[] args)(Code)(Java Doc) public IRubyObject private_method_defined(IRubyObject symbol)(Code)(Java Doc) public RubyArray protected_instance_methods(IRubyObject[] args)(Code)(Java Doc) public IRubyObject protected_method_defined(IRubyObject symbol)(Code)(Java Doc) public RubyModule public_class_method(IRubyObject[] args)(Code)(Java Doc) public RubyArray public_instance_methods(IRubyObject[] args)(Code)(Java Doc) public IRubyObject public_method_defined(IRubyObject symbol)(Code)(Java Doc) public void putMethod(Object name, DynamicMethod method)(Code)(Java Doc) public RubyModule rbPrivate(IRubyObject[] args)(Code)(Java Doc) public RubyModule rbProtected(IRubyObject[] args)(Code)(Java Doc) public RubyModule rbPublic(IRubyObject[] args)(Code)(Java Doc) public void removeCachedMethod(String name)(Code)(Java Doc) public void removeClassProvider(ClassProvider provider)(Code)(Java Doc) public IRubyObject removeCvar(IRubyObject name)(Code)(Java Doc) public void removeMethod(String name)(Code)(Java Doc) public IRubyObject remove_class_variable(IRubyObject name)(Code)(Java Doc) public IRubyObject remove_const(IRubyObject name)(Code)(Java Doc) public RubyModule remove_method(IRubyObject[] args)(Code)(Java Doc) public DynamicMethod retrieveMethod(String name)(Code)(Java Doc) public DynamicMethod searchMethod(String name)(Code)(Java Doc) public void setBaseName(String name)(Code)(Java Doc) public IRubyObject setClassVar(String name, IRubyObject value)(Code)(Java Doc) public IRubyObject setConstant(String name, IRubyObject value)(Code)(Java Doc) public void setMethodVisibility(IRubyObject[] methods, Visibility visibility)(Code)(Java Doc) public void setParent(RubyModule p)(Code)(Java Doc) protected void setSuperClass(RubyClass superClass)(Code)(Java Doc) public IRubyObject to_s()(Code)(Java Doc) public void undef(String name)(Code)(Java Doc) public RubyModule undef_method(IRubyObject[] args)(Code)(Java Doc) public void undefineMethod(String name)(Code)(Java Doc) public static RubyModule unmarshalFrom(UnmarshalStream input) throws java.io.IOException(Code)(Java Doc)
|
Methods inherited from org.jruby.RubyObject | public void addFinalizer(RubyProc finalizer)(Code)(Java Doc) public IRubyObject anyToString()(Code)(Java Doc) public RubyString asString()(Code)(Java Doc) public String asSymbol()(Code)(Java Doc) public void attachToObjectSpace()(Code)(Java Doc) public void callInit(IRubyObject[] args, Block block)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, Block block)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject arg)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, int methodIndex, String name, IRubyObject[] args, CallType callType)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, int methodIndex, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, RubyModule rubyclass, String name, IRubyObject[] args, CallType callType, Block block)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, String name)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, int methodIndex, String name)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, String name, Block block)(Code)(Java Doc) public IRubyObject callMethod(ThreadContext context, String name, IRubyObject arg)(Code)(Java Doc) public static IRubyObject callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, int methodIndex, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc) public static IRubyObject callMethodMissing(ThreadContext context, IRubyObject receiver, DynamicMethod method, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc) public IRubyObject callSuper(ThreadContext context, IRubyObject[] args, Block block)(Code)(Java Doc) public IRubyObject checkArrayType()(Code)(Java Doc) protected void checkFrozen()(Code)(Java Doc) public IRubyObject checkStringType()(Code)(Java Doc) public IRubyObject compilerCallMethod(ThreadContext context, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc) public IRubyObject compilerCallMethodWithIndex(ThreadContext context, int methodIndex, String name, IRubyObject[] args, IRubyObject self, CallType callType, Block block)(Code)(Java Doc) public RubyArray convertToArray()(Code)(Java Doc) public RubyFloat convertToFloat()(Code)(Java Doc) public RubyHash convertToHash()(Code)(Java Doc) public RubyInteger convertToInteger()(Code)(Java Doc) public RubyString convertToString()(Code)(Java Doc) public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raise)(Code)(Java Doc) public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, boolean raise)(Code)(Java Doc) public IRubyObject convertToType(RubyClass targetType, int convertMethodIndex, String convertMethod, boolean raiseOnMissingMethod, boolean raiseOnWrongTypeResult, boolean allowNilThrough)(Code)(Java Doc) public IRubyObject convertToTypeWithCheck(RubyClass targetType, int convertMethodIndex, String convertMethod)(Code)(Java Doc) public static RubyClass createObjectClass(Ruby runtime, RubyClass objectClass)(Code)(Java Doc) public synchronized Object dataGetStruct()(Code)(Java Doc) public synchronized void dataWrapStruct(Object obj)(Code)(Java Doc) public IRubyObject display(IRubyObject[] args)(Code)(Java Doc) protected IRubyObject doClone()(Code)(Java Doc) public IRubyObject dup()(Code)(Java Doc) public boolean eql(IRubyObject other)(Code)(Java Doc) final public boolean eqlInternal(ThreadContext context, IRubyObject other)(Code)(Java Doc) public IRubyObject equal(IRubyObject other)(Code)(Java Doc) final public IRubyObject equalInternal(ThreadContext context, IRubyObject other)(Code)(Java Doc) public boolean equals(Object other)(Code)(Java Doc) public IRubyObject evalSimple(ThreadContext context, IRubyObject src, String file)(Code)(Java Doc) public IRubyObject evalUnder(RubyModule under, IRubyObject src, IRubyObject file, IRubyObject line)(Code)(Java Doc) public IRubyObject evalWithBinding(ThreadContext context, IRubyObject src, IRubyObject scope, String file, int lineNumber)(Code)(Java Doc) public IRubyObject extend(IRubyObject[] args)(Code)(Java Doc) public IRubyObject freeze()(Code)(Java Doc) public RubyBoolean frozen()(Code)(Java Doc) public IRubyObject getInstanceVariable(String name)(Code)(Java Doc) public Map getInstanceVariables()(Code)(Java Doc) public Map getInstanceVariablesSnapshot()(Code)(Java Doc) public Class getJavaClass()(Code)(Java Doc) final public RubyClass getMetaClass()(Code)(Java Doc) public int getNativeTypeIndex()(Code)(Java Doc) public Ruby getRuntime()(Code)(Java Doc) public RubyClass getSingletonClass()(Code)(Java Doc) public RubyClass getSingletonClassClone()(Code)(Java Doc) public RubyClass getType()(Code)(Java Doc) public RubyFixnum hash()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public synchronized RubyFixnum id()(Code)(Java Doc) public synchronized RubyFixnum id_deprecated()(Code)(Java Doc) public IRubyObject infectBy(IRubyObject obj)(Code)(Java Doc) public IRubyObject inherited(IRubyObject arg, Block block)(Code)(Java Doc) public static void initCopy(IRubyObject clone, IRubyObject original)(Code)(Java Doc) public IRubyObject initialize(IRubyObject[] args, Block block)(Code)(Java Doc) public IRubyObject initialize_copy(IRubyObject original)(Code)(Java Doc) public IRubyObject inspect()(Code)(Java Doc) public Iterator instanceVariableNames()(Code)(Java Doc) public IRubyObject instance_eval(IRubyObject[] args, Block block)(Code)(Java Doc) public IRubyObject instance_exec(IRubyObject[] args, Block block)(Code)(Java Doc) public RubyBoolean instance_of(IRubyObject type)(Code)(Java Doc) public IRubyObject instance_variable_get(IRubyObject var)(Code)(Java Doc) public IRubyObject instance_variable_set(IRubyObject var, IRubyObject value)(Code)(Java Doc) public RubyArray instance_variables()(Code)(Java Doc) final public boolean isFalse()(Code)(Java Doc) public boolean isFrozen()(Code)(Java Doc) public boolean isImmediate()(Code)(Java Doc) public boolean isKindOf(RubyModule type)(Code)(Java Doc) public boolean isNil()(Code)(Java Doc) public boolean isSingleton()(Code)(Java Doc) public boolean isTaint()(Code)(Java Doc) final public boolean isTrue()(Code)(Java Doc) public RubyBoolean kind_of(IRubyObject type)(Code)(Java Doc) public RubyClass makeMetaClass(RubyClass superClass, SinglyLinkedList parentCRef)(Code)(Java Doc) public IRubyObject match(IRubyObject arg)(Code)(Java Doc) public IRubyObject method(IRubyObject symbol)(Code)(Java Doc) public IRubyObject methods(IRubyObject[] args)(Code)(Java Doc) public IRubyObject nil_p()(Code)(Java Doc) public IRubyObject obj_equal(IRubyObject obj)(Code)(Java Doc) public IRubyObject private_methods(IRubyObject[] args)(Code)(Java Doc) public IRubyObject protected_methods(IRubyObject[] args)(Code)(Java Doc) public IRubyObject public_methods(IRubyObject[] args)(Code)(Java Doc) public static void puts(Object obj)(Code)(Java Doc) public IRubyObject rbClone(Block unusedBlock)(Code)(Java Doc) public void removeFinalizers()(Code)(Java Doc) public IRubyObject removeInstanceVariable(String name)(Code)(Java Doc) public IRubyObject remove_instance_variable(IRubyObject name, Block block)(Code)(Java Doc) public RubyBoolean respond_to(IRubyObject[] args)(Code)(Java Doc) public boolean respondsTo(String name)(Code)(Java Doc) public Map safeGetInstanceVariables()(Code)(Java Doc) public boolean safeHasInstanceVariables()(Code)(Java Doc) public IRubyObject send(IRubyObject[] args, Block block)(Code)(Java Doc) public void setFrozen(boolean frozen)(Code)(Java Doc) public IRubyObject setInstanceVariable(String name, IRubyObject value, String taintError, String freezeError)(Code)(Java Doc) public IRubyObject setInstanceVariable(String name, IRubyObject value)(Code)(Java Doc) public void setInstanceVariables(Map instanceVariables)(Code)(Java Doc) public void setMetaClass(RubyClass metaClass)(Code)(Java Doc) public void setTaint(boolean taint)(Code)(Java Doc) public RubyArray singleton_methods(IRubyObject[] args)(Code)(Java Doc) public IRubyObject specificEval(RubyModule mod, IRubyObject[] args, Block block)(Code)(Java Doc) public IRubyObject taint()(Code)(Java Doc) public RubyBoolean tainted()(Code)(Java Doc) protected void testFrozen(String message)(Code)(Java Doc) public String toString()(Code)(Java Doc) public IRubyObject to_s()(Code)(Java Doc) public static String trueFalseNil(IRubyObject v)(Code)(Java Doc) public static String trueFalseNil(String v)(Code)(Java Doc) public RubyClass type()(Code)(Java Doc) public RubyClass type_deprecated()(Code)(Java Doc) public IRubyObject untaint()(Code)(Java Doc)
|
|
|