Modifier and Type | Class and Description |
---|---|
class |
IncludedModule |
class |
IncludedModuleWrapper
This class is used to provide an intermediate superclass for modules and classes that include
other modules.
|
class |
MetaClass |
class |
PrependedModule
This class is used as an intermediate superclass for Module#prepend
|
Modifier and Type | Field and Description |
---|---|
protected RubyClass |
RubyBasicObject.metaClass
The class of this object
|
protected RubyClass |
RubyModule.superClass |
Modifier and Type | Field and Description |
---|---|
protected Set<RubyClass> |
RubyModule.includingHierarchies |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyArray.createArrayClass(Ruby runtime) |
static RubyClass |
RubyBasicObject.createBasicObjectClass(Ruby runtime,
RubyClass objectClass)
Will create the Ruby class Object in the runtime
specified.
|
static RubyClass |
RubyBignum.createBignumClass(Ruby runtime) |
static RubyClass |
RubyBinding.createBindingClass(Ruby runtime) |
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.
|
static RubyClass |
NativeException.createClass(Ruby runtime,
RubyClass baseClass) |
static RubyClass |
RubyComplex.createComplexClass(Ruby runtime) |
static RubyClass |
RubyConverter.createConverterClass(Ruby runtime) |
static RubyClass |
RubyDir.createDirClass(Ruby runtime) |
static RubyClass |
RubyEncoding.createEncodingClass(Ruby runtime) |
static RubyClass |
RubyException.createExceptionClass(Ruby runtime) |
static RubyClass |
RubyBoolean.createFalseClass(Ruby runtime) |
static RubyClass |
RubyFile.createFileClass(Ruby runtime) |
static RubyClass |
RubyFileStat.createFileStatClass(Ruby runtime) |
static RubyClass |
RubyFixnum.createFixnumClass(Ruby runtime) |
static RubyClass |
RubyFloat.createFloatClass(Ruby runtime) |
static RubyClass |
RubyHash.createHashClass(Ruby runtime) |
static RubyClass |
RubyInteger.createIntegerClass(Ruby runtime) |
static RubyClass |
RubyIO.createIOClass(Ruby runtime) |
static RubyClass |
RubyLocalJumpError.createLocalJumpErrorClass(Ruby runtime,
RubyClass standardErrorClass) |
static RubyClass |
RubyMatchData.createMatchDataClass(Ruby runtime) |
static RubyClass |
RubyMethod.createMethodClass(Ruby runtime)
Create the RubyMethod class and add it to the Ruby runtime.
|
static RubyClass |
RubyModule.createModuleClass(Ruby runtime,
RubyClass moduleClass) |
static RubyClass |
RubyNil.createNilClass(Ruby runtime) |
static RubyClass |
RubyNumeric.createNumericClass(Ruby runtime) |
static RubyClass |
RubyObject.createObjectClass(Ruby runtime,
RubyClass objectClass)
Will create the Ruby class Object in the runtime
specified.
|
static RubyClass |
RubyProc.createProcClass(Ruby runtime) |
static RubyClass |
RubyRandom.createRandomClass(Ruby runtime) |
static RubyClass |
RubyRange.createRangeClass(Ruby runtime) |
static RubyClass |
RubyRational.createRationalClass(Ruby runtime) |
static RubyClass |
RubyRegexp.createRegexpClass(Ruby runtime) |
static RubyClass |
RubyString.createStringClass(Ruby runtime) |
static RubyClass |
RubyStruct.createStructClass(Ruby runtime) |
static RubyClass |
RubySymbol.createSymbolClass(Ruby runtime) |
static RubyClass |
RubySystemCallError.createSystemCallErrorClass(Ruby runtime,
RubyClass standardError) |
static RubyClass |
RubyThread.createThreadClass(Ruby runtime) |
static RubyClass |
RubyThreadGroup.createThreadGroupClass(Ruby runtime) |
static RubyClass |
RubyTime.createTimeClass(Ruby runtime) |
static RubyClass |
RubyBoolean.createTrueClass(Ruby runtime) |
static RubyClass |
RubyYielder.createYielderClass(Ruby runtime) |
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.
|
RubyClass |
RubyModule.defineOrGetClassUnder(String name,
RubyClass superClazz)
this method should be used only by interpreter or compiler
|
RubyClass |
RubyModule.defineOrGetClassUnder(String name,
RubyClass superClazz,
ObjectAllocator allocator) |
static RubyClass |
RubyUnboundMethod.defineUnboundMethodClass(Ruby runtime) |
RubyClass |
RubyModule.fastGetClass(String internedName)
Deprecated.
|
RubyClass |
Ruby.fastGetClass(String internedName)
Deprecated.
|
RubyClass |
Ruby.getArgumentError() |
RubyClass |
Ruby.getArray() |
RubyClass |
Ruby.getBasicObject() |
RubyClass |
Ruby.getBignum() |
RubyClass |
Ruby.getBinding() |
RubyClass |
RubyModule.getClass(String name)
Finds a class that is within the current module (or class).
|
RubyClass |
Ruby.getClass(String name)
Retrieve the class with the given name from the Object namespace.
|
RubyClass |
Ruby.getClassClass() |
RubyClass |
Ruby.getComplex() |
RubyClass |
Ruby.getConcurrencyError() |
RubyClass |
Ruby.getContinuation() |
RubyClass |
Ruby.getConverter() |
RubyClass |
Ruby.getConverterNotFoundError() |
RubyClass |
Ruby.getDir() |
RubyClass |
Ruby.getDummy() |
RubyClass |
Ruby.getEncoding() |
RubyClass |
Ruby.getEncodingCompatibilityError() |
RubyClass |
Ruby.getEncodingError() |
RubyClass |
Ruby.getEnumerator() |
RubyClass |
Ruby.getEOFError() |
RubyClass |
Ruby.getErrno(int n) |
RubyClass |
Ruby.getException() |
RubyClass |
Ruby.getFalseClass() |
RubyClass |
Ruby.getFatal() |
RubyClass |
Ruby.getFiber() |
RubyClass |
Ruby.getFiberError() |
RubyClass |
Ruby.getFile() |
RubyClass |
Ruby.getFileStat() |
RubyClass |
Ruby.getFixnum() |
RubyClass |
Ruby.getFloat() |
RubyClass |
Ruby.getFloatDomainError() |
RubyClass |
Ruby.getGenerator() |
RubyClass |
Ruby.getHash() |
RubyClass |
Ruby.getIndexError() |
RubyClass |
Ruby.getInteger() |
RubyClass |
Ruby.getInterrupt() |
RubyClass |
Ruby.getInterruptedRegexpError() |
RubyClass |
Ruby.getInvalidByteSequenceError() |
RubyClass |
Ruby.getIO() |
RubyClass |
Ruby.getIOError() |
RubyClass |
Ruby.getKeyError() |
RubyClass |
Ruby.getLoadError() |
RubyClass |
Ruby.getLocalJumpError() |
RubyClass |
Ruby.getLocation() |
RubyClass |
Ruby.getMatchData() |
RubyClass |
Ruby.getMathDomainError() |
RubyClass |
RubyBasicObject.getMetaClass()
if exist return the meta-class else return the type of the object.
|
static RubyClass |
BasicObjectStub.getMetaClass(IRubyObject self) |
RubyClass |
Ruby.getMethod() |
RubyClass |
Ruby.getModule() |
RubyClass |
Ruby.getNameError() |
RubyClass |
Ruby.getNameErrorMessage() |
RubyClass |
Ruby.getNativeException() |
RubyClass |
Ruby.getNilClass() |
RubyClass |
Ruby.getNoMemoryError() |
RubyClass |
Ruby.getNoMethodError() |
RubyClass |
Ruby.getNotImplementedError() |
RubyClass |
Ruby.getNumeric() |
RubyClass |
Ruby.getObject() |
RubyClass |
Ruby.getProc() |
RubyClass |
Ruby.getProcStatus() |
RubyClass |
Ruby.getRandomClass() |
RubyClass |
Ruby.getRange() |
RubyClass |
Ruby.getRangeError() |
RubyClass |
Ruby.getRational() |
RubyClass |
RubyClass.getRealClass() |
RubyClass |
Ruby.getRegexp() |
RubyClass |
Ruby.getRegexpError() |
RubyClass |
Ruby.getRuntimeError() |
RubyClass |
Ruby.getSecurityError() |
RubyClass |
Ruby.getSignalException() |
RubyClass |
RubySymbol.getSingletonClass() |
RubyClass |
RubyNil.getSingletonClass() |
RubyClass |
RubyFloat.getSingletonClass() |
RubyClass |
RubyFixnum.getSingletonClass() |
RubyClass |
RubyBoolean.getSingletonClass() |
RubyClass |
RubyBignum.getSingletonClass() |
RubyClass |
RubyBasicObject.getSingletonClass()
rb_singleton_class
Note: this method is specialized for RubyFixnum, RubySymbol,
RubyNil and RubyBoolean
Will either return the existing singleton class for this
object, or create a new one and return that.
|
static RubyClass |
BasicObjectStub.getSingletonClass(IRubyObject self) |
protected RubyClass |
RubyBasicObject.getSingletonClassClone()
rb_singleton_class_clone
Will make sure that if the current objects class is a
singleton, it will get cloned.
|
RubyClass |
Ruby.getStandardError() |
RubyClass |
Ruby.getStopIteration() |
RubyClass |
Ruby.getString() |
RubyClass |
Ruby.getStructClass() |
RubyClass |
RubyModule.getSuperClass()
Getter for property superClass.
|
RubyClass |
Ruby.getSymbol() |
RubyClass |
Ruby.getSyntaxError() |
RubyClass |
Ruby.getSystemCallError() |
RubyClass |
Ruby.getSystemExit() |
RubyClass |
Ruby.getSystemStackError() |
RubyClass |
Ruby.getThread() |
RubyClass |
Ruby.getThreadError() |
RubyClass |
Ruby.getThreadGroup() |
RubyClass |
Ruby.getTime() |
RubyClass |
Ruby.getTrueClass() |
RubyClass |
RubyBasicObject.getType() |
static RubyClass |
BasicObjectStub.getType(IRubyObject self) |
RubyClass |
Ruby.getTypeError() |
RubyClass |
Ruby.getUnboundMethod() |
RubyClass |
Ruby.getUncaughtThrowError() |
RubyClass |
Ruby.getUndefinedConversionError() |
RubyClass |
Ruby.getYielder() |
RubyClass |
Ruby.getZeroDivisionError() |
RubyClass |
RubyClass.makeMetaClass(RubyClass superClass)
rb_make_metaclass
|
RubyClass |
RubyBasicObject.makeMetaClass(RubyClass superClass)
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.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass)
Construct a new class with the given name scoped under Object (global)
and with Object as its immediate superclass.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
CallSite[] extraCallSites)
A variation on newClass that allow 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.
|
static RubyClass |
RubyStruct.newInstance(IRubyObject recv,
IRubyObject[] args,
Block block)
Create new Struct class.
|
RubyClass |
RubyBasicObject.type_deprecated()
rb_obj_type
The deprecated version of type, that emits a deprecation
warning.
|
RubyClass |
RubyBasicObject.type()
rb_obj_class
Returns the real class of this object, excluding any
singleton/meta class in the inheritance chain.
|
static RubyClass |
RubyKernel.type(IRubyObject self) |
static RubyClass |
RubyClass.unmarshalFrom(UnmarshalStream input) |
Modifier and Type | Method and Description |
---|---|
Map<RubyClass,RubyModule> |
RubyModule.getRefinements() |
Collection<RubyClass> |
RubyClass.subclasses(boolean includeDescendants) |
Modifier and Type | Method and Description |
---|---|
void |
RubyClass.addSubclass(RubyClass subclass)
Add a new subclass to the weak set of subclasses.
|
IRubyObject |
RubyObject.convertToType(RubyClass target,
int convertMethodIndex)
Deprecated.
|
static RubyClass |
RubyBasicObject.createBasicObjectClass(Ruby runtime,
RubyClass objectClass)
Will create the Ruby class Object in the runtime
specified.
|
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.
|
static RubyClass |
NativeException.createClass(Ruby runtime,
RubyClass baseClass) |
static void |
RubyClass.createClassClass(Ruby runtime,
RubyClass classClass) |
static RubyClass |
RubyLocalJumpError.createLocalJumpErrorClass(Ruby runtime,
RubyClass standardErrorClass) |
static RubyClass |
RubyModule.createModuleClass(Ruby runtime,
RubyClass moduleClass) |
static RubyClass |
RubyObject.createObjectClass(Ruby runtime,
RubyClass objectClass)
Will create the Ruby class Object in the runtime
specified.
|
static RubyClass |
RubySystemCallError.createSystemCallErrorClass(Ruby runtime,
RubyClass standardError) |
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.
|
RubyClass |
RubyModule.defineOrGetClassUnder(String name,
RubyClass superClazz)
this method should be used only by interpreter or compiler
|
RubyClass |
RubyModule.defineOrGetClassUnder(String name,
RubyClass superClazz,
ObjectAllocator allocator) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
RubyClass type,
IRubyObject object,
String method) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
RubyClass type,
IRubyObject object,
String method,
IRubyObject arg) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
RubyClass type,
IRubyObject object,
String method,
IRubyObject[] args) |
void |
RubyClass.inherit(RubyClass superClazz)
rb_class_inherited (reversed semantics!)
|
RubyClass |
RubyClass.makeMetaClass(RubyClass superClass)
rb_make_metaclass
|
RubyClass |
RubyBasicObject.makeMetaClass(RubyClass superClass)
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.
|
RubyString |
RubyString.makeShared(Ruby runtime,
RubyClass meta,
int index,
int len) |
RubyString |
RubyString.makeShared19(Ruby runtime,
RubyClass meta,
int index,
int len) |
static void |
RubyClass.marshalTo(RubyClass clazz,
MarshalStream output) |
static Class<? extends IRubyObject> |
RubyClass.nearestReifiedClass(RubyClass klass) |
static RubyString |
RubyString.newAllocatedString(Ruby runtime,
RubyClass metaClass) |
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass)
Construct a new class with the given name scoped under Object (global)
and with Object as its immediate superclass.
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
CallSite[] extraCallSites)
A variation on newClass that allow 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.
|
RubyObject.Data |
Ruby.newData(RubyClass objectClass,
Object sval) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
RubyClass metaClass) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
RubyClass metaClass,
org.jcodings.Encoding enc) |
static RubyException |
RubyException.newException(Ruby runtime,
RubyClass excptnClass,
String msg) |
static IRubyObject |
RubyException.newException(ThreadContext context,
RubyClass exceptionClass,
IRubyObject message) |
IncludedModuleWrapper |
RubyModule.newIncludeClass(RubyClass superClazz)
Deprecated.
|
IncludedModuleWrapper |
IncludedModuleWrapper.newIncludeClass(RubyClass superClass)
Deprecated.
|
RaiseException |
Ruby.newRaiseException(RubyClass exceptionClass,
String message) |
static RubyString |
RubyString.newString(Ruby runtime,
RubyClass clazz,
CharSequence str)
Deprecated.
|
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
int cr) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
RubyClass clazz,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding encoding) |
RaiseException |
Ruby.newTypeError(IRubyObject receivedObject,
RubyClass expectedType) |
static RubyIO |
RubyIO.prepStdio(Ruby runtime,
InputStream f,
Channel c,
int fmode,
RubyClass klass,
String path) |
static RubyIO |
RubyIO.prepStdio(Ruby runtime,
OutputStream f,
Channel c,
int fmode,
RubyClass klass,
String path) |
void |
RubyClass.removeSubclass(RubyClass subclass)
Remove a subclass from the weak set of subclasses.
|
void |
RubyClass.replaceSubclass(RubyClass subclass,
RubyClass newSubclass)
Replace an existing subclass with a new one.
|
void |
Ruby.setFiber(RubyClass fiberClass) |
void |
Ruby.setGenerator(RubyClass generatorClass) |
void |
Ruby.setGroupStruct(RubyClass groupStruct) |
void |
Ruby.setLocation(RubyClass location) |
void |
RubyBasicObject.setMetaClass(RubyClass metaClass)
Makes it possible to change the metaclass of an object.
|
void |
IncludedModule.setMetaClass(RubyClass newRubyClass) |
protected void |
RubyClass.setModuleSuperClass(RubyClass superClass) |
void |
Ruby.setPasswdStruct(RubyClass passwdStruct) |
void |
RubyModule.setSuperClass(RubyClass superClass) |
IRubyObject |
RubyArray.subseq(RubyClass metaClass,
long beg,
long len,
boolean light) |
Modifier and Type | Method and Description |
---|---|
void |
RubyModule.setRefinements(Map<RubyClass,RubyModule> refinements) |
Constructor and Description |
---|
AbstractRubyMethod(Ruby runtime,
RubyClass rubyClass) |
Data(RubyClass metaClass,
Object data) |
Data(Ruby runtime,
RubyClass metaClass,
Object data) |
IncludedModule(Ruby runtime,
RubyClass superClass,
RubyModule origin) |
IncludedModuleWrapper(Ruby runtime,
RubyClass superClass,
RubyModule origin) |
Location(Ruby runtime,
RubyClass klass,
RubyStackTraceElement element) |
MetaClass(Ruby runtime,
RubyClass superClass,
IRubyObject attached)
rb_class_boot (for MetaClasses) (in makeMetaClass(RubyClass))
|
NativeException(Ruby runtime,
RubyClass rubyClass,
Throwable cause) |
PrependedModule(Ruby runtime,
RubyClass superClass,
RubyModule origin) |
ReifiedRubyObject(Ruby runtime,
RubyClass metaClass) |
RubyArgsFile(Ruby runtime,
RubyClass metaClass) |
RubyArray(Ruby runtime,
RubyClass klass) |
RubyArray(Ruby runtime,
RubyClass klass,
boolean objectSpace) |
RubyArray(Ruby runtime,
RubyClass klass,
IRubyObject[] vals) |
RubyBasicObject(RubyClass metaClass)
Path for objects that don't taint and don't enter objectspace.
|
RubyBasicObject(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyBasicObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace)
Path for objects who want to decide whether they don't want to be in
ObjectSpace even when it is on.
|
RubyBasicObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyBinding(Ruby runtime,
RubyClass rubyClass,
Binding binding) |
RubyClass(Ruby runtime,
RubyClass superClazz)
rb_class_boot (for plain Classes)
also used to bootstrap Module and Class classes
|
RubyClass(Ruby runtime,
RubyClass superClass,
boolean objectSpace)
separate path for MetaClass and IncludedModuleWrapper construction
(rb_class_boot version for MetaClasses)
no marshal, allocator initialization and addSubclass(this) here!
|
RubyClass(Ruby runtime,
RubyClass superClazz,
CallSite[] extraCallSites)
A constructor which allows passing in an array of supplementary call sites.
|
RubyConverter(Ruby runtime,
RubyClass klass) |
RubyDir(Ruby runtime,
RubyClass type) |
RubyException(Ruby runtime,
RubyClass rubyClass) |
RubyException(Ruby runtime,
RubyClass rubyClass,
String message) |
RubyFile(Ruby runtime,
RubyClass type) |
RubyFileStat(Ruby runtime,
RubyClass clazz) |
RubyGenerator(Ruby runtime,
RubyClass klass) |
RubyHash(Ruby runtime,
RubyClass klass) |
RubyHash(Ruby runtime,
RubyClass metaClass,
IRubyObject defaultValue,
RubyHash.RubyHashEntry[] initialTable,
int threshold) |
RubyInteger(RubyClass rubyClass) |
RubyInteger(Ruby runtime,
RubyClass rubyClass) |
RubyInteger(Ruby runtime,
RubyClass rubyClass,
boolean useObjectSpace) |
RubyInteger(Ruby runtime,
RubyClass rubyClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyIO(Ruby runtime,
RubyClass type) |
RubyIO(Ruby runtime,
RubyClass klass,
Channel channel) |
RubyIO(Ruby runtime,
RubyClass cls,
ShellLauncher.POpenProcess process,
RubyHash options,
IOOptions ioOptions)
Deprecated.
|
RubyLocalJumpError(Ruby runtime,
RubyClass exceptionClass,
String message,
RubyLocalJumpError.Reason reason,
IRubyObject exitValue) |
RubyMatchData(Ruby runtime,
RubyClass metaClass) |
RubyMethod(Ruby runtime,
RubyClass rubyClass) |
RubyModule(Ruby runtime,
RubyClass metaClass)
used by MODULE_ALLOCATOR and RubyClass constructors
|
RubyModule(Ruby runtime,
RubyClass metaClass,
boolean objectSpace)
separate path for MetaClass construction
|
RubyNameError(Ruby runtime,
RubyClass exceptionClass) |
RubyNameError(Ruby runtime,
RubyClass exceptionClass,
String message) |
RubyNameError(Ruby runtime,
RubyClass exceptionClass,
String message,
IRubyObject name) |
RubyNameError(Ruby runtime,
RubyClass exceptionClass,
String message,
String name) |
RubyNoMethodError(Ruby runtime,
RubyClass exceptionClass) |
RubyNoMethodError(Ruby runtime,
RubyClass exceptionClass,
String message,
String name,
IRubyObject args) |
RubyNumeric(RubyClass metaClass) |
RubyNumeric(Ruby runtime,
RubyClass metaClass) |
RubyNumeric(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace) |
RubyNumeric(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyObject(RubyClass metaClass)
Path for objects that don't taint and don't enter objectspace.
|
RubyObject(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace)
Path for objects who want to decide whether they don't want to be in
ObjectSpace even when it is on.
|
RubyObject(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
RubyObjectVar0(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar1(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar2(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar3(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar4(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar5(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar6(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar7(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar8(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyObjectVar9(Ruby runtime,
RubyClass metaClass)
Standard path for object creation.
|
RubyProc(Ruby runtime,
RubyClass rubyClass,
Block.Type type) |
RubyProc(Ruby runtime,
RubyClass rubyClass,
Block.Type type,
ISourcePosition sourcePosition)
Deprecated.
|
RubyProc(Ruby runtime,
RubyClass rubyClass,
Block.Type type,
String file,
int line) |
RubyProc(Ruby runtime,
RubyClass rubyClass,
Block block,
String file,
int line) |
RubyStatus(Ruby runtime,
RubyClass metaClass,
long status,
long pid) |
RubyStopIteration(Ruby runtime,
RubyClass exceptionClass) |
RubyString(Ruby runtime,
RubyClass rubyClass) |
RubyString(Ruby runtime,
RubyClass rubyClass,
byte[] value) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
boolean objectSpace) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
org.jcodings.Encoding enc) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
org.jcodings.Encoding encoding,
boolean objectSpace) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
org.jcodings.Encoding enc,
int cr) |
RubyString(Ruby runtime,
RubyClass rubyClass,
org.jruby.util.ByteList value,
int cr) |
RubyString(Ruby runtime,
RubyClass rubyClass,
CharSequence value) |
RubyString(Ruby runtime,
RubyClass rubyClass,
CharSequence value,
org.jcodings.Encoding enc) |
RubySystemCallError(Ruby runtime,
RubyClass rubyClass) |
RubySystemCallError(Ruby runtime,
RubyClass rubyClass,
String message,
int errno) |
RubySystemExit(Ruby runtime,
RubyClass exceptionClass) |
RubyThread(Ruby runtime,
RubyClass type) |
RubyThread(Ruby runtime,
RubyClass klass,
Runnable runnable) |
RubyTime(Ruby runtime,
RubyClass rubyClass) |
RubyTime(Ruby runtime,
RubyClass rubyClass,
org.joda.time.DateTime dt) |
RubyUncaughtThrowError(Ruby runtime,
RubyClass exceptionClass) |
RubyYielder(Ruby runtime,
RubyClass klass) |
WeakMap(Ruby runtime,
RubyClass cls) |
Modifier and Type | Method and Description |
---|---|
DynamicMethod |
RuntimeCache.getMethod(ThreadContext context,
RubyClass selfType,
int index,
String methodName) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6,
String name7) |
DynamicMethod |
RuntimeCache.searchWithCache(RubyClass clazz,
int index,
String name1,
String name2,
String name3,
String name4,
String name5,
String name6,
String name7,
String name8) |
Constructor and Description |
---|
RaiseException(Ruby runtime,
RubyClass excptnClass,
String msg,
boolean nativeException) |
RaiseException(Ruby runtime,
RubyClass excptnClass,
String msg,
IRubyObject backtrace,
boolean nativeException) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyBigDecimal.createBigDecimal(Ruby runtime) |
Constructor and Description |
---|
RubyBigDecimal(Ruby runtime,
RubyClass klass) |
RubyBigDecimal(Ruby runtime,
RubyClass klass,
BigDecimal value) |
RubyBigDecimal(Ruby runtime,
RubyClass klass,
RubyBigDecimal rbd) |
Constructor and Description |
---|
DigestBase(Ruby runtime,
RubyClass type) |
DigestClass(Ruby runtime,
RubyClass type) |
Modifier and Type | Field and Description |
---|---|
RubyClass |
FFI.bufferClass |
RubyClass |
FFI.callbackClass |
RubyClass |
FFI.functionClass |
RubyClass |
FFI.memoryClass |
RubyClass |
FFI.memptrClass |
RubyClass |
FFI.pointerClass |
RubyClass |
FFI.structClass |
RubyClass |
FFI.typeClass |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
AbstractInvoker.createAbstractInvokerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
AbstractMemory.createAbstractMemoryClass(Ruby runtime,
RubyModule module) |
static RubyClass |
AutoPointer.createAutoPointerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
Buffer.createBufferClass(Ruby runtime,
RubyModule module) |
static RubyClass |
CallbackInfo.createCallbackInfoClass(Ruby runtime,
RubyModule module)
Creates a CallbackInfo class for a ruby runtime
|
static RubyClass |
MappedType.createConverterTypeClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
Enum.createEnumClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
Enums.createEnumsClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
MemoryPointer.createMemoryPointerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
Pointer.createPointerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
StructByReference.createStructByReferenceClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
StructByValue.createStructByValueClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
Struct.createStructClass(Ruby runtime,
RubyModule module)
Registers the StructLayout class in the JRuby runtime.
|
static RubyClass |
StructLayout.createStructLayoutClass(Ruby runtime,
RubyModule module)
Registers the StructLayout class in the JRuby runtime.
|
static RubyClass |
Type.createTypeClass(Ruby runtime,
RubyModule ffiModule) |
protected RubyClass |
NullMemoryIO.getErrorClass(Ruby runtime) |
protected RubyClass |
InvalidMemoryIO.getErrorClass(Ruby runtime) |
static RubyClass |
Pointer.getPointerClass(Ruby runtime) |
RubyClass |
StructByValue.getStructClass() |
RubyClass |
StructByReference.getStructClass() |
static RubyClass |
Type.getTypeClass(Ruby runtime) |
Constructor and Description |
---|
AbstractInvoker(Ruby runtime,
RubyClass klass,
int arity,
MemoryIO io)
Creates a new AbstractInvoker instance.
|
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size) |
AbstractMemory(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size,
int typeSize) |
Array(Ruby runtime,
RubyClass klass,
Type componentType,
int length)
Initializes a new Type.Array instance.
|
ArrayField(Ruby runtime,
RubyClass klass) |
AutoPointer(Ruby runtime,
RubyClass klazz) |
Buffer(Ruby runtime,
RubyClass klass) |
CallbackInfo(Ruby runtime,
RubyClass klazz,
Type returnType,
Type[] paramTypes,
boolean stdcall)
Creates a new CallbackInfo instance.
|
EnumField(Ruby runtime,
RubyClass klass) |
FunctionField(Ruby runtime,
RubyClass klass) |
InnerStructField(Ruby runtime,
RubyClass klass) |
MappedField(Ruby runtime,
RubyClass klass) |
MemoryObject(Ruby runtime,
RubyClass metaClass) |
MemoryPointer(Ruby runtime,
RubyClass klass) |
NumberField(Ruby runtime,
RubyClass klass) |
Pointer(Ruby runtime,
RubyClass klazz) |
Pointer(Ruby runtime,
RubyClass klass,
MemoryIO io) |
Pointer(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size) |
Pointer(Ruby runtime,
RubyClass klass,
MemoryIO io,
long size,
int typeSize) |
PointerField(Ruby runtime,
RubyClass klass) |
Struct(Ruby runtime,
RubyClass klass)
Creates a new StructLayout instance.
|
Type(Ruby runtime,
RubyClass klass,
NativeType type)
Initializes a new Type instance.
|
Type(Ruby runtime,
RubyClass klass,
NativeType type,
int size,
int alignment)
Initializes a new Type instance.
|
Modifier and Type | Method and Description |
---|---|
static RubyClass |
FileDescriptorIO.createFileDescriptorIOClass(Ruby runtime,
RubyModule module) |
Constructor and Description |
---|
FileDescriptorIO(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
CallbackManager.createCallbackClass(Ruby runtime,
RubyModule module)
Creates a Callback class for a ruby runtime
|
static RubyClass |
DynamicLibrary.createDynamicLibraryClass(Ruby runtime,
RubyModule module) |
static RubyClass |
Function.createFunctionClass(Ruby runtime,
RubyModule module) |
static RubyClass |
JFFIInvoker.createInvokerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
VariadicInvoker.createVariadicInvokerClass(Ruby runtime,
RubyModule module) |
Constructor and Description |
---|
DynamicLibrary(Ruby runtime,
RubyClass klass,
String name,
com.kenai.jffi.Library library) |
Constructor and Description |
---|
ThreadFiber(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
JRubyObjectInputStream.createJRubyObjectInputStream(Ruby runtime) |
Constructor and Description |
---|
JRubyExecutionContextLocal(Ruby runtime,
RubyClass type) |
JRubyFiberLocal(Ruby runtime,
RubyClass type) |
JRubyObjectInputStream(Ruby runtime,
RubyClass rubyClass) |
JRubyThreadLocal(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static RubyPathname |
RubyPathname.newInstance(ThreadContext context,
RubyClass klass,
IRubyObject path) |
Constructor and Description |
---|
RubyPathname(Ruby runtime,
RubyClass metaClass) |
Constructor and Description |
---|
Addrinfo(Ruby runtime,
RubyClass cls) |
Addrinfo(Ruby runtime,
RubyClass cls,
InetAddress inetAddress) |
Addrinfo(Ruby runtime,
RubyClass cls,
InetAddress inetAddress,
int port) |
Addrinfo(Ruby runtime,
RubyClass cls,
InetAddress inetAddress,
int port,
SocketType socketType) |
Addrinfo(Ruby runtime,
RubyClass cls,
NetworkInterface networkInterface,
boolean isBroadcast) |
Addrinfo(Ruby runtime,
RubyClass cls,
NetworkInterface networkInterface,
InetAddress inetAddress) |
Ifaddr(Ruby runtime,
RubyClass metaClass) |
Ifaddr(Ruby runtime,
RubyClass metaClass,
NetworkInterface ni) |
Ifaddr(Ruby runtime,
RubyClass metaClass,
NetworkInterface ni,
InterfaceAddress it) |
Option(Ruby runtime,
RubyClass klass) |
Option(Ruby runtime,
RubyClass klass,
jnr.constants.platform.ProtocolFamily family,
jnr.constants.platform.SocketLevel level,
jnr.constants.platform.SocketOption option,
int data) |
RubyBasicSocket(Ruby runtime,
RubyClass type) |
RubyIPSocket(Ruby runtime,
RubyClass type) |
RubyServerSocket(Ruby runtime,
RubyClass type) |
RubySocket(Ruby runtime,
RubyClass type) |
RubyTCPServer(Ruby runtime,
RubyClass type) |
RubyTCPSocket(Ruby runtime,
RubyClass type) |
RubyUDPSocket(Ruby runtime,
RubyClass type) |
RubyUNIXServer(Ruby runtime,
RubyClass type) |
RubyUNIXSocket(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
StringIO.createStringIOClass(Ruby runtime) |
Constructor and Description |
---|
StringIO(Ruby runtime,
RubyClass klass) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
RubyStringScanner.createScannerClass(Ruby runtime) |
Constructor and Description |
---|
RubyStringScanner(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
Tempfile.createTempfileClass(Ruby runtime) |
Constructor and Description |
---|
Tempfile(Ruby runtime,
RubyClass type) |
Constructor and Description |
---|
ConditionVariable(Ruby runtime,
RubyClass type) |
Mutex(Ruby runtime,
RubyClass type) |
Queue(Ruby runtime,
RubyClass type) |
SizedQueue(Ruby runtime,
RubyClass type) |
SizedQueue(Ruby runtime,
RubyClass type,
int max) |
Constructor and Description |
---|
TracePoint(Ruby runtime,
RubyClass klass) |
Constructor and Description |
---|
WeakRef(Ruby runtime,
RubyClass klazz) |
Constructor and Description |
---|
JZlibDeflate(Ruby runtime,
RubyClass type) |
JZlibInflate(Ruby runtime,
RubyClass type) |
JZlibRubyGzipReader(Ruby runtime,
RubyClass type) |
JZlibRubyGzipWriter(Ruby runtime,
RubyClass type) |
RubyGzipFile(Ruby runtime,
RubyClass type) |
ZStream(Ruby runtime,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
RubyClass |
UndefinedValue.getMetaClass()
RubyMethod getRubyClass.
|
RubyClass |
UndefinedValue.getSingletonClass()
RubyMethod getSingletonClass.
|
RubyClass |
UndefinedValue.getType()
RubyMethod getType.
|
Modifier and Type | Method and Description |
---|---|
protected abstract RubyClass |
ResolvedSuperInvokeSite.getSuperClass(RubyClass definingModule) |
protected RubyClass |
InstanceSuperInvokeSite.getSuperClass(RubyClass definingModule) |
protected RubyClass |
ClassSuperInvokeSite.getSuperClass(RubyClass definingModule) |
RubyClass |
InvokeSite.pollAndGetClass(ThreadContext context,
IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
ZSuperInvokeSite.fail(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
IRubyObject |
UnresolvedSuperInvokeSite.fail(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
abstract IRubyObject |
SuperInvokeSite.fail(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
protected abstract RubyClass |
ResolvedSuperInvokeSite.getSuperClass(RubyClass definingModule) |
protected RubyClass |
InstanceSuperInvokeSite.getSuperClass(RubyClass definingModule) |
protected RubyClass |
ClassSuperInvokeSite.getSuperClass(RubyClass definingModule) |
IRubyObject |
ZSuperInvokeSite.invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
IRubyObject |
UnresolvedSuperInvokeSite.invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
abstract IRubyObject |
SuperInvokeSite.invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
IRubyObject |
InstanceSuperInvokeSite.invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
IRubyObject |
ClassSuperInvokeSite.invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
RubyClass definingModule,
IRubyObject[] args,
Block block) |
static boolean |
InvokeSite.testMetaclass(RubyClass metaclass,
IRubyObject self) |
static boolean |
Bootstrap.testType(RubyClass original,
IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
static Class |
RealClassGenerator.createOldStyleImplClass(Class[] superTypes,
RubyClass rubyClass,
Ruby ruby,
String name,
ClassDefiningClassLoader classLoader) |
static Class |
RealClassGenerator.createRealImplClass(Class superClass,
Class[] interfaces,
RubyClass rubyClass,
Ruby ruby,
String name) |
Constructor and Description |
---|
SingletonMethodInvoker(Object singleton,
RubyClass host,
List<Method> methods) |
SingletonMethodInvoker(Object singleton,
RubyClass host,
Method method) |
StaticMethodInvoker(RubyClass host,
List<Method> methods) |
StaticMethodInvoker(RubyClass host,
Method method) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
ArrayJavaProxy.createArrayJavaProxy(ThreadContext context) |
static RubyClass |
ArrayJavaProxyCreator.createArrayJavaProxyCreator(ThreadContext context) |
static RubyClass |
ConcreteJavaProxy.createConcreteJavaProxy(ThreadContext context) |
static RubyClass |
InterfaceJavaProxy.createInterfaceJavaProxy(ThreadContext context) |
static RubyClass |
JavaProxy.createJavaProxy(ThreadContext context) |
static RubyClass |
MapJavaProxy.createMapJavaProxy(Ruby runtime) |
RubyClass |
JavaProxy.getSingletonClass()
rb_singleton_class
Note: this method is specialized for RubyFixnum, RubySymbol,
RubyNil and RubyBoolean
Will either return the existing singleton class for this
object, or create a new one and return that.
|
static RubyClass |
JavaProxy.singleton_class(IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
static void |
JavaInterfaceTemplate.addRealImplClassNew(RubyClass clazz) |
protected static void |
ConcreteJavaProxy.initialize(RubyClass ConcreteJavaProxy) |
Constructor and Description |
---|
ArrayJavaProxy(Ruby runtime,
RubyClass klazz,
Object array) |
ArrayJavaProxy(Ruby runtime,
RubyClass klazz,
Object array,
JavaUtil.JavaConverter converter) |
ConcreteJavaProxy(Ruby runtime,
RubyClass klazz) |
ConcreteJavaProxy(Ruby runtime,
RubyClass klazz,
Object object) |
InterfaceJavaProxy(Ruby runtime,
RubyClass klazz) |
JavaProxy(Ruby runtime,
RubyClass klazz) |
JavaProxy(Ruby runtime,
RubyClass klazz,
Object object) |
MapJavaProxy(Ruby runtime,
RubyClass klazz) |
MapJavaProxy(Ruby runtime,
RubyClass klazz,
Map map) |
Modifier and Type | Class and Description |
---|---|
class |
BlankSlateWrapper
Deprecated.
no longer used - probably needs revamp if needed to be re-usable
|
Constructor and Description |
---|
BlankSlateWrapper(Ruby runtime,
RubyClass superClass,
RubyModule delegate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ObjectProxyCache<IRubyObject,RubyClass> |
JavaSupportImpl.getObjectProxyCache() |
abstract ObjectProxyCache<IRubyObject,RubyClass> |
JavaSupport.getObjectProxyCache() |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
Java.allocateProxy(Object javaObject,
RubyClass clazz) |
static IRubyObject |
Java.constructProxy(Ruby runtime,
Constructor proxyConstructor,
RubyClass clazz) |
static Class |
Java.generateRealClass(RubyClass clazz) |
static Class[] |
Java.getInterfacesFromRubyClass(RubyClass klass) |
protected static void |
JavaObject.registerRubyMethods(Ruby runtime,
RubyClass JavaObject) |
static void |
JavaCallable.registerRubyMethods(Ruby runtime,
RubyClass result) |
static void |
JavaAccessibleObject.registerRubyMethods(Ruby runtime,
RubyClass result) |
Constructor and Description |
---|
JavaAccessibleObject(Ruby runtime,
RubyClass rubyClass) |
JavaCallable(Ruby runtime,
RubyClass rubyClass,
Class<?>[] parameterTypes) |
JavaObject(Ruby runtime,
RubyClass rubyClass,
Object value) |
Modifier and Type | Method and Description |
---|---|
static RubyModule |
Initializer.setupProxyClass(Ruby runtime,
Class<?> javaClass,
RubyClass proxy) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
JavaProxyClass.createJavaProxyClassClass(Ruby runtime,
RubyModule Java) |
static RubyClass |
JavaProxyConstructor.createJavaProxyConstructorClass(Ruby runtime,
RubyModule Java) |
static RubyClass |
JavaProxyClass.ProxyMethodImpl.createJavaProxyMethodClass(Ruby runtime,
RubyModule Java) |
Modifier and Type | Method and Description |
---|---|
protected static void |
JavaProxyReflectionObject.registerRubyMethods(Ruby runtime,
RubyClass klass) |
Constructor and Description |
---|
JavaProxyReflectionObject(Ruby runtime,
RubyClass metaClass) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
Helpers.getSingletonClass(Ruby runtime,
IRubyObject receiver) |
static RubyClass |
Helpers.metaclass(IRubyObject object) |
static RubyClass |
Helpers.newClassForIR(ThreadContext context,
String name,
IRubyObject self,
RubyModule classContainer,
Object superClass,
boolean meta) |
static RubyClass |
Helpers.performSingletonMethodChecks(Ruby runtime,
IRubyObject receiver,
String name) |
static RubyClass |
Helpers.prepareSuperClass(Ruby runtime,
IRubyObject rubyClass) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
ObjectAllocator.allocate(Ruby runtime,
RubyClass klazz) |
static IRubyObject |
Helpers.invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
Block block) |
static IRubyObject |
Helpers.invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject[] args,
Block block) |
static IRubyObject |
Helpers.invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject arg0,
Block block) |
static IRubyObject |
Helpers.invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
static IRubyObject |
Helpers.invokeAs(ThreadContext context,
RubyClass asClass,
IRubyObject self,
String name,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
ObjectMarshal.marshalTo(Ruby runtime,
Object obj,
RubyClass type,
MarshalStream marshalStream) |
void |
ThreadContext.prepareTopLevel(RubyClass objectClass,
IRubyObject topSelf) |
static DynamicMethod |
Helpers.selectMethodMissing(RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
static DynamicMethod |
Helpers.selectMethodMissing(ThreadContext context,
RubyClass selfClass,
Visibility visibility,
String name,
CallType callType) |
Object |
ObjectMarshal.unmarshalFrom(Ruby runtime,
RubyClass type,
UnmarshalStream unmarshalStream) |
Modifier and Type | Method and Description |
---|---|
RubyClass |
RubyJavaObject.getMetaClass() |
RubyClass |
IRubyObject.getMetaClass()
RubyMethod getRubyClass.
|
RubyClass |
IRubyObject.getSingletonClass()
RubyMethod getSingletonClass.
|
RubyClass |
IRubyObject.getType()
RubyMethod getType.
|
Modifier and Type | Method and Description |
---|---|
protected static RubyClass |
CachingCallSite.getClass(IRubyObject self) |
protected static RubyClass |
SuperCallSite.pollAndGetClass(ThreadContext context,
IRubyObject self,
RubyModule frameClass,
String frameName) |
Modifier and Type | Method and Description |
---|---|
static RubyClass |
InvokeDynamicSupport.pollAndGetClass(ThreadContext context,
IRubyObject self) |
Modifier and Type | Field and Description |
---|---|
protected RubyClass |
VariableAccessor.realClass
the "real" class associated with this variable
|
Modifier and Type | Method and Description |
---|---|
static void |
VariableAccessorVar9.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar8.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar7.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar6.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar5.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar4.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar3.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar2.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar1.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar0.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
SynchronizedVariableAccessor.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
StampedVariableAccessor.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
NonvolatileVariableAccessor.setVariable(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar9.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar8.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar7.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar6.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar5.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar4.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar3.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar2.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar1.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableAccessorVar0.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
SynchronizedVariableAccessor.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
StampedVariableAccessor.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
NonvolatileVariableAccessor.setVariableChecked(RubyBasicObject self,
RubyClass realClass,
int index,
Object value)
Set the given variable index into the specified object.
|
static void |
VariableTableManager.setVariableInternal(RubyClass realClass,
RubyBasicObject self,
int index,
Object value)
Static entry point for setting a variable in an object.
|
Constructor and Description |
---|
FieldVariableAccessor(RubyClass realClass,
String name,
int index,
int classId,
int offset)
Construct a new FieldVariableAccessor for the given "real" class,
variable name, variable index, class ID, and field offset
|
NonvolatileVariableAccessor(RubyClass realClass,
String name,
int index,
int classId)
Construct a new NonvolatileVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
StampedVariableAccessor(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
SynchronizedVariableAccessor(RubyClass realClass,
String name,
int index,
int classId)
Construct a new SynchronizedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessor(RubyClass realClass,
String name,
int index,
int classId)
Construct a new VariableAccessor for the given "real" class, name,
variable index, and class ID.
|
VariableAccessorVar0(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar1(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar2(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar3(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar4(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar5(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar6(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar7(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar8(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableAccessorVar9(RubyClass realClass,
String name,
int index,
int classId)
Construct a new StampedVariableAccessor for the given "real" class,
variable name, variable index, and class ID.
|
VariableTableManager(RubyClass realClass)
Construct a new VariableTable Manager for the given "real" class.
|
Modifier and Type | Method and Description |
---|---|
static RubyClass |
UnmarshalStream.getClassFromPath(Ruby runtime,
String path) |
Modifier and Type | Method and Description |
---|---|
void |
MarshalStream.dumpDefaultObjectHeader(char tp,
RubyClass type) |
void |
MarshalStream.dumpDefaultObjectHeader(RubyClass type) |
void |
MarshalStream.writeUserClass(IRubyObject obj,
RubyClass type) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
RubyArrayTwoObject.subseq(RubyClass metaClass,
long beg,
long len,
boolean light) |
IRubyObject |
RubyArrayOneObject.subseq(RubyClass metaClass,
long beg,
long len,
boolean light) |
Constructor and Description |
---|
RubyArrayOneObject(RubyClass otherClass,
IRubyObject value) |
RubyArraySpecialized(RubyClass otherClass,
boolean light) |
RubyArrayTwoObject(RubyClass otherClass,
IRubyObject car,
IRubyObject cdr) |
Modifier and Type | Method and Description |
---|---|
RubyClass |
ClassProvider.defineClassUnder(RubyModule module,
String name,
RubyClass superClazz) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
TypeConverter.checkStringType(ThreadContext context,
JavaSites.CheckedSites sites,
IRubyObject obj,
RubyClass target) |
static IRubyObject |
TypeConverter.convertToType(IRubyObject obj,
RubyClass target,
int convertMethodIndex,
String convertMethod)
Deprecated.
|
static IRubyObject |
TypeConverter.convertToType(IRubyObject obj,
RubyClass target,
int convertMethodIndex,
String convertMethod,
boolean raise)
Deprecated.
|
static IRubyObject |
TypeConverter.convertToType(IRubyObject obj,
RubyClass target,
String convertMethod)
Converts this object to type 'targetType' using 'convertMethod' method and raises TypeError exception on failure (MRI: rb_convert_type).
|
static IRubyObject |
TypeConverter.convertToType(IRubyObject obj,
RubyClass target,
String convertMethod,
boolean raise)
Converts this object to type 'targetType' using 'convertMethod' method (MRI: convert_type).
|
static IRubyObject |
TypeConverter.convertToType(ThreadContext context,
IRubyObject obj,
RubyClass target,
JavaSites.CheckedSites sites)
Converts this object to type 'targetType' using 'convertMethod' method and raises TypeError exception on failure (MRI: rb_convert_type).
|
static IRubyObject |
TypeConverter.convertToType(ThreadContext context,
IRubyObject obj,
RubyClass target,
JavaSites.CheckedSites sites,
boolean raise) |
static IRubyObject |
TypeConverter.convertToType19(IRubyObject obj,
RubyClass target,
String convertMethod)
Converts this object to type 'targetType' using 'convertMethod' method and raises TypeError exception on failure (MRI: rb_convert_type in 1.9).
|
static IRubyObject |
TypeConverter.convertToType19(IRubyObject obj,
RubyClass target,
String convertMethod,
boolean raise)
Converts this object to type 'targetType' using 'convertMethod' method (MRI: convert_type 1.9).
|
static IRubyObject |
TypeConverter.convertToType19(ThreadContext context,
IRubyObject obj,
RubyClass target,
JavaSites.CheckedSites sites)
Converts this object to type 'targetType' using 'convertMethod' method and raises TypeError exception on failure (MRI: rb_convert_type in 1.9).
|
static IRubyObject |
TypeConverter.convertToType19(ThreadContext context,
IRubyObject obj,
RubyClass target,
JavaSites.CheckedSites sites,
boolean raise)
Converts this object to type 'targetType' using 'convertMethod' method (MRI: convert_type 1.9).
|
static IRubyObject |
TypeConverter.convertToTypeOrRaise(IRubyObject obj,
RubyClass target,
String convertMethod)
Deprecated.
|
static IRubyObject |
TypeConverter.convertToTypeWithCheck(IRubyObject obj,
RubyClass target,
int convertMethodIndex,
String convertMethod)
Deprecated.
|
static IRubyObject |
TypeConverter.convertToTypeWithCheck(IRubyObject obj,
RubyClass target,
String convertMethod)
Higher level conversion utility similar to convertToType but it can throw an
additional TypeError during conversion (MRI: rb_check_convert_type).
|
static IRubyObject |
TypeConverter.convertToTypeWithCheck(ThreadContext context,
IRubyObject obj,
RubyClass target,
JavaSites.CheckedSites sites)
Higher level conversion utility similar to convertToType but it can throw an
additional TypeError during conversion (MRI: rb_check_convert_type).
|
static IRubyObject |
TypeConverter.convertToTypeWithCheck19(IRubyObject obj,
RubyClass target,
String convertMethod)
Deprecated.
|
static IRubyObject |
TypeConverter.convertToTypeWithCheck19(ThreadContext context,
IRubyObject obj,
RubyClass target,
JavaSites.CheckedSites sites)
Higher level conversion utility similar to convertToType but it can throw an
additional TypeError during conversion (MRI: rb_check_convert_type).
|
RubyClass |
ClassProvider.defineClassUnder(RubyModule module,
String name,
RubyClass superClazz) |
static IRubyObject |
TypeConverter.handleImplicitlyUncoercibleObject(boolean raise,
IRubyObject obj,
RubyClass target) |
static IRubyObject |
TypeConverter.handleUncoercibleObject(boolean raise,
IRubyObject obj,
RubyClass target) |
static RaiseException |
TypeConverter.newTypeError(IRubyObject obj,
RubyClass target,
String convertMethod,
IRubyObject val) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
PopenExecutor.popen(ThreadContext context,
IRubyObject[] argv,
RubyClass klass,
Block block) |
Copyright © 2001-2016 JRuby. All Rights Reserved.