core/src/main/java/org/jruby/RubyBasicObject.java
public RubyClass makeMetaClass(RubyClass superClass) {
        MetaClass klass = new MetaClass(getRuntime(), superClass, this); // rb_class_boot
        setMetaClass(klass);

        klass.setMetaClass(superClass.getRealClass().metaClass);

        superClass.addSubclass(klass);

        return klass;
    }
/** rb_make_metaclass
     *
     * Will create a new meta class, insert this in the chain of
     * classes for this specific object, and return the generated meta
     * class.
     */
rb_make_metaclass
Will create a new meta class, insert this in the chain of
classes for this specific object, and return the generated meta
class.
rb_make_metaclass Will create a new meta class insert this in the chain of classes for this specific object and return the generated meta class .
public RubyClass makeMetaClass(RubyClass superClass) {
        MetaClass klass = new MetaClass(getRuntime(), superClass, this); 
        setMetaClass(klass);
        klass.setMetaClass(superClass.getRealClass().metaClass);
        superClass.addSubclass(klass);
        return klass;
    }
public RubyClass makeMetaClass ( RubyClass superClass ) { MetaClass klass = new MetaClass ( getRuntime ( ) , superClass , this ) ; setMetaClass ( klass ) ; klass . setMetaClass ( superClass . getRealClass ( ) . metaClass ) ; superClass . addSubclass ( klass ) ; return klass ; }
rb_make_metaclass
 Will create a new meta class, insert this in the chain of
 classes for this specific object, and return the generated meta
 class.
rb_make_metaclass Will create a new meta class insert this in the chain of classes for this specific object and return the generated meta class .
// rb_class_boot