Package | Description |
---|---|
org.jruby | |
org.jruby.ext.digest | |
org.jruby.ext.jruby | |
org.jruby.ext.weakref | |
org.jruby.ext.zlib | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
ObjectAllocator |
RubyClass.getAllocator() |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyClass.createBootstrapClass(Ruby runtime,
String name,
RubyClass superClass,
ObjectAllocator allocator)
boot_defclass
Create an initial Object meta class before Module and Kernel dependencies have
squirreled themselves together.
|
RubyClass |
Ruby.defineClass(String name,
RubyClass superClass,
ObjectAllocator allocator)
Define a new class under the Object namespace.
|
RubyClass |
Ruby.defineClass(String name,
RubyClass superClass,
ObjectAllocator allocator,
CallSite[] callSites)
A variation of defineClass that allows passing in an array of subplementary
call sites for improving dynamic invocation performance.
|
RubyClass |
RubyModule.defineClassUnder(String name,
RubyClass superClass,
ObjectAllocator allocator)
rb_define_class_under
this method should be used only as an API to define/open nested classes
|
RubyClass |
Ruby.defineClassUnder(String name,
RubyClass superClass,
ObjectAllocator allocator,
RubyModule parent)
Define a new class with the given name under the given module or class
namespace.
|
RubyClass |
Ruby.defineClassUnder(String name,
RubyClass superClass,
ObjectAllocator allocator,
RubyModule parent,
CallSite[] callSites)
A variation of defineClassUnder that allows passing in an array of
supplementary call sites to improve dynamic invocation.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
String name,
ObjectAllocator allocator,
RubyModule parent,
boolean setParent)
Construct a new class with the given name, allocator, parent class,
and containing class.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
String name,
ObjectAllocator allocator,
RubyModule parent,
boolean setParent,
CallSite[] extraCallSites)
A variation on newClass that allows passing in an array of supplementary
call sites to improve dynamic invocation performance.
|
void |
RubyClass.setAllocator(ObjectAllocator allocator) |
Modifier and Type | Field and Description |
---|---|
protected static ObjectAllocator |
RubyDigest.DigestBase.DIGEST_BASE_ALLOCATOR |
protected static ObjectAllocator |
RubyDigest.DigestClass.DIGEST_CLASS_ALLOCATOR |
Modifier and Type | Field and Description |
---|---|
static ObjectAllocator |
JRubyThreadLocal.ALLOCATOR |
static ObjectAllocator |
JRubyFiberLocal.ALLOCATOR |
Modifier and Type | Field and Description |
---|---|
static ObjectAllocator |
WeakRef.WEAKREF_ALLOCATOR |
Modifier and Type | Field and Description |
---|---|
protected static ObjectAllocator |
JZlibDeflate.DEFLATE_ALLOCATOR |
protected static ObjectAllocator |
RubyGzipFile.GZIPFILE_ALLOCATOR |
protected static ObjectAllocator |
JZlibRubyGzipReader.GZIPREADER_ALLOCATOR |
protected static ObjectAllocator |
JZlibRubyGzipWriter.GZIPWRITER_ALLOCATOR |
protected static ObjectAllocator |
JZlibInflate.INFLATE_ALLOCATOR |
Modifier and Type | Field and Description |
---|---|
static ObjectAllocator |
ObjectAllocator.NOT_ALLOCATABLE_ALLOCATOR |
Copyright © 2001-2015 JRuby. All Rights Reserved.