| Modifier and Type | Field and Description |
|---|---|
private static Ruby |
Ruby.globalRuntime
The "global" runtime.
|
private Ruby |
NativeException.runtime |
private Ruby |
RubyArgsFile.ArgsFileData.runtime |
protected Ruby |
RubyClass.runtime |
private Ruby |
RubyEnumerable.ChunkedBlockCallback.runtime |
protected Ruby |
RubyEnumerator.Nexter.runtime
the runtime associated with all objects
|
private Ruby |
RubyGlobal.PidAccessor.runtime |
private Ruby |
RubyHash.ConvertingEntry.runtime |
private Ruby |
RubySymbol.SymbolTable.runtime |
private Ruby |
JRubyApplet.runtime |
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.ThreadLocal<Ruby> |
Ruby.threadLocalRuntime
The "thread local" runtime.
|
| Modifier and Type | Method and Description |
|---|---|
Ruby |
RubyClass.getClassRuntime() |
static Ruby |
Ruby.getCurrentInstance()
Deprecated.
|
static Ruby |
Ruby.getDefaultInstance()
Deprecated.
use #newInstance()
|
static Ruby |
Ruby.getGlobalRuntime()
Get the global runtime.
|
Ruby |
RubyBasicObject.getRuntime()
Will return the runtime that this object is associated with.
|
static Ruby |
BasicObjectStub.getRuntime(IRubyObject self) |
static Ruby |
Ruby.getThreadLocalRuntime()
Get the thread-local runtime for the current thread, or null if unset.
|
static Ruby |
Ruby.newInstance()
Returns a new instance of the JRuby runtime configured with defaults.
|
static Ruby |
Ruby.newInstance(java.io.InputStream in,
java.io.PrintStream out,
java.io.PrintStream err)
Returns a new instance of the JRuby runtime configured with the given
input, output and error streams and otherwise default configuration
(except where specified system properties alter defaults).
|
static Ruby |
Ruby.newInstance(RubyInstanceConfig config)
Returns a new instance of the JRuby runtime configured as specified.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
RubyThread.abortOnException(Ruby runtime) |
void |
Ruby.ObjectSpacer.addToObjectSpace(Ruby runtime,
boolean useObjectSpace,
IRubyObject object) |
(package private) static java.lang.String |
RubyFile.adjustRootPathOnWindows(Ruby runtime,
java.lang.String path,
java.lang.String dir) |
private static void |
RubyRegexp.appendRegexpString(Ruby runtime,
org.jruby.util.ByteList to,
byte[] bytes,
int start,
int len,
org.jcodings.Encoding enc) |
private static void |
RubyRegexp.appendRegexpString19(Ruby runtime,
org.jruby.util.ByteList to,
byte[] bytes,
int start,
int len,
org.jcodings.Encoding enc,
org.jcodings.Encoding resEnc) |
private static void |
RubyRegexp.appendUtf8(Ruby runtime,
org.jruby.util.ByteList to,
int code,
org.jcodings.Encoding[] enc,
org.jruby.util.ByteList str,
RubyRegexp.ErrorMode mode)
Append the given utf8 characters to the buffer, if given, checking for
errors along the way.
|
private static RubyArray |
RubyDir.asRubyStringList(Ruby runtime,
java.util.List<org.jruby.util.ByteList> dirs) |
void |
JRubyApplet.Facade.attach(Ruby runtime,
java.applet.Applet applet) |
void |
JRubyApplet.TrivialFacade.attach(Ruby runtime,
java.applet.Applet applet) |
void |
JRubyApplet.ConsoleFacade.attach(Ruby runtime,
java.applet.Applet applet) |
private int |
RubyMatchData.beginCommon(Ruby runtime,
int i) |
static RubyInteger |
RubyBignum.bignorm(Ruby runtime,
java.math.BigInteger bi)
rb_big_norm
|
private static RubyProc |
JRubyApplet.blockToProc(Ruby runtime,
Block block) |
private IRubyObject |
RubyString.byteARef(Ruby runtime,
IRubyObject idx) |
private IRubyObject |
RubyString.byteSubstr(Ruby runtime,
int beg,
int len) |
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
Arity arity,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] args,
Arity arity,
BlockCallback callback)
Deprecated.
|
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] args,
BlockCallback callback)
Deprecated.
|
static IRubyObject |
RubyEnumerable.callEach19(Ruby runtime,
ThreadContext context,
IRubyObject self,
Arity arity,
BlockCallback callback) |
static IRubyObject |
RubyEnumerable.callEach19(Ruby runtime,
ThreadContext context,
IRubyObject self,
BlockCallback callback) |
private static void |
RubyDir.checkDirIsTwoSlashesOnWindows(Ruby runtime,
java.lang.String path) |
private static int |
RubyProcess.checkErrno(Ruby runtime,
int result) |
private static int |
RubyProcess.checkErrno(Ruby runtime,
int result,
RubyProcess.NonNativeErrno nonNative) |
private boolean |
Main.checkFileSyntax(Ruby runtime,
java.lang.String filename) |
private static void |
RubyArray.checkLength(Ruby runtime,
long length) |
private static void |
RubyFile.checkSharedExclusive(Ruby runtime,
OpenFile openFile,
int lockMode) |
private boolean |
Main.checkStreamSyntax(Ruby runtime,
java.io.InputStream in,
java.lang.String filename) |
private static void |
RubyRegexp.checkUnicodeRange(Ruby runtime,
int code,
org.jruby.util.ByteList str,
RubyRegexp.ErrorMode mode) |
private IRubyObject |
RubyString.chompBangCommon(Ruby runtime,
IRubyObject rsObj) |
private IRubyObject |
RubyString.chompBangCommon19(Ruby runtime,
IRubyObject rsObj) |
private int |
RubyString.choppedLength19(Ruby runtime) |
private IRubyObject |
RubyArray.cmpCommon(ThreadContext context,
Ruby runtime,
RubyArray ary2) |
private static RubyArray |
RubyNumeric.coerceResult(Ruby runtime,
IRubyObject result,
boolean err) |
private static java.lang.Object |
RubyFixnum.coerceToJavaType(Ruby ruby,
RubyFixnum self,
java.lang.Class javaClass) |
static IRubyObject |
RubyEnumerable.collectCommon(ThreadContext context,
Ruby runtime,
IRubyObject self,
RubyArray result,
Block block,
BlockCallback blockCallback) |
private int |
RubyBasicObject.compareTo18(Ruby runtime,
IRubyObject other) |
private RubyString |
RubyString.concatNumeric(Ruby runtime,
int c) |
private static void |
RubyArray.concurrentModification(Ruby runtime) |
java.util.Collection<java.lang.String> |
RubyModule.constantsCommon(Ruby runtime,
boolean replaceModule,
boolean allConstants)
rb_mod_constants
|
java.util.Collection<java.lang.String> |
RubyModule.constantsCommon(Ruby runtime,
boolean replaceModule,
boolean allConstants,
boolean includePrivate) |
static IRubyObject |
RubyEncoding.convertEncodingToRubyEncoding(Ruby runtime,
org.jcodings.Encoding defaultEncoding)
Deprecated.
|
abstract java.lang.Object |
RubyHash.EntryView.convertEntry(Ruby runtime,
RubyHash.RubyHashEntry value) |
private static RubyException |
RubyKernel.convertToException(Ruby runtime,
IRubyObject obj,
IRubyObject optionalMessage) |
private static IRubyObject |
RubyNumeric.convertToNum(double val,
Ruby runtime) |
private IRubyObject |
RubyString.countCommon(Ruby runtime,
boolean[] table) |
private IRubyObject |
RubyString.countCommon19(Ruby runtime,
boolean[] table,
RubyString.TrTables tables,
org.jcodings.Encoding enc) |
LoadService |
RubyInstanceConfig.LoadServiceCreator.create(Ruby runtime) |
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,
java.lang.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 void |
RubyClassPathVariable.createClassPathVariable(Ruby runtime) |
static RubyModule |
RubyComparable.createComparable(Ruby runtime) |
static RubyClass |
RubyComplex.createComplexClass(Ruby runtime) |
static void |
RubyContinuation.createContinuation(Ruby runtime) |
static RubyClass |
RubyConverter.createConverterClass(Ruby runtime) |
static RubyClass |
RubyDir.createDirClass(Ruby runtime) |
static RubyClass |
RubyEncoding.createEncodingClass(Ruby runtime) |
static RubyModule |
RubyEnumerable.createEnumerableModule(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 RubyModule |
RubyFileTest.createFileTestModule(Ruby runtime) |
static RubyClass |
RubyFixnum.createFixnumClass(Ruby runtime) |
static RubyClass |
RubyFloat.createFloatClass(Ruby runtime) |
static RubyModule |
RubyGC.createGCModule(Ruby runtime) |
static void |
RubyGlobal.createGlobals(ThreadContext context,
Ruby runtime) |
static RubyClass |
RubyHash.createHashClass(Ruby runtime) |
static RubyClass |
RubyInteger.createIntegerClass(Ruby runtime) |
static RubyClass |
RubyIO.createIOClass(Ruby runtime) |
static RubyModule |
RubyKernel.createKernelModule(Ruby runtime) |
LoadService |
RubyInstanceConfig.createLoadService(Ruby runtime) |
static RubyClass |
RubyLocalJumpError.createLocalJumpErrorClass(Ruby runtime,
RubyClass standardErrorClass) |
static RubyModule |
RubyMarshal.createMarshalModule(Ruby runtime) |
static RubyClass |
RubyMatchData.createMatchDataClass(Ruby runtime) |
static RubyModule |
RubyMath.createMathModule(Ruby runtime)
Create the Math module and add it to the 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 |
RubyNameError.createNameErrorClass(Ruby runtime,
RubyClass standardErrorClass) |
static RubyClass |
RubyNameError.createNameErrorMessageClass(Ruby runtime,
RubyClass nameErrorClass) |
static RubyClass |
RubyNil.createNilClass(Ruby runtime) |
static RubyClass |
RubyNoMethodError.createNoMethodErrorClass(Ruby runtime,
RubyClass nameErrorClass) |
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 RubyModule |
RubyObjectSpace.createObjectSpaceModule(Ruby runtime)
Create the ObjectSpace module and add it to the Ruby runtime.
|
static RubyModule |
RubyPrecision.createPrecisionModule(Ruby runtime) |
static RubyClass |
RubyProc.createProcClass(Ruby runtime) |
static RubyModule |
RubyProcess.createProcessModule(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 void |
RubySignal.createSignal(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 |
RubySystemExit.createSystemExitClass(Ruby runtime,
RubyClass exceptionClass) |
static RubyClass |
RubyThread.createThreadClass(Ruby runtime) |
static RubyClass |
RubyThreadGroup.createThreadGroupClass(Ruby runtime) |
static RubyClass |
RubyTime.createTimeClass(Ruby runtime) |
static IRubyObject |
TopSelfFactory.createTopSelf(Ruby runtime) |
static RubyClass |
RubyBoolean.createTrueClass(Ruby runtime) |
(package private) static void |
RubyObjectSpace.WeakMap.createWeakMap(Ruby runtime) |
static RubyClass |
RubyYielder.createYielderClass(Ruby runtime) |
IRubyObject |
RubyIO.ctl(Ruby runtime,
IRubyObject cmd,
IRubyObject arg) |
static IRubyObject |
RubyNumeric.dbl_cmp(Ruby runtime,
double a,
double b)
rb_dbl_cmp (numeric.c)
|
static IRubyObject |
RubyNumeric.dbl2num(Ruby runtime,
double val)
rb_dbl2big + LONG2FIX at once (numeric.c)
|
private DynamicMethod |
RubyModule.deepMethodSearch(java.lang.String name,
Ruby runtime) |
static void |
RubyEnumerator.defineEnumerator(Ruby runtime) |
private static void |
RubyGlobal.defineGlobalEnvConstants(Ruby runtime) |
static RubyClass |
RubyUnboundMethod.defineUnboundMethodClass(Ruby runtime) |
private IRubyObject |
RubyString.delete_bangCommon(Ruby runtime,
boolean[] squeeze) |
private IRubyObject |
RubyString.delete_bangCommon19(Ruby runtime,
boolean[] squeeze,
RubyString.TrTables tables,
org.jcodings.Encoding enc) |
static IRubyObject |
RubyFileTest.directory_p(Ruby ruby,
IRubyObject filename) |
private static java.lang.String |
RubyDir.dirFromPath(java.lang.String path,
Ruby runtime) |
private Main.Status |
Main.doCheckSyntax(Ruby runtime,
java.io.InputStream in,
java.lang.String filename) |
private Main.Status |
Main.doRunFromMain(Ruby runtime,
java.io.InputStream in,
java.lang.String filename) |
private void |
Main.doSetContextClassLoader(Ruby runtime) |
private static void |
RubyNumeric.duckStep(ThreadContext context,
Ruby runtime,
IRubyObject from,
IRubyObject to,
IRubyObject step,
Block block) |
private static boolean[] |
RubyMarshal.dumpToStream(Ruby runtime,
IRubyObject object,
java.io.OutputStream rawOutput,
int depthLimit) |
static IRubyObject |
RubyProcess.egid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.egid(Ruby runtime) |
static IRubyObject |
RubyProcess.GroupID.eid(Ruby runtime) |
static IRubyObject |
RubyProcess.UserID.eid(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.GroupID.eid(Ruby runtime,
IRubyObject arg) |
private static void |
RubyGC.emptyImplementationWarning(Ruby runtime,
IRubyWarnings.ID id,
java.lang.String name) |
private static void |
RubyRegexp.encodingMatchError(Ruby runtime,
org.joni.Regex pattern,
org.jcodings.Encoding strEnc) |
private int |
RubyMatchData.endCommon(Ruby runtime,
int i) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
IRubyObject object,
java.lang.String method) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject arg) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject[] args) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
RubyClass type,
IRubyObject object,
java.lang.String method) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
RubyClass type,
IRubyObject object,
java.lang.String method,
IRubyObject arg) |
static IRubyObject |
RubyEnumerator.enumeratorize(Ruby runtime,
RubyClass type,
IRubyObject object,
java.lang.String method,
IRubyObject[] args) |
private boolean |
RubyString.eql18(Ruby runtime,
IRubyObject other) |
private boolean |
RubyString.eql19(Ruby runtime,
IRubyObject other) |
static IRubyObject |
RubyProcess.euid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.euid(Ruby runtime) |
IRubyObject |
RubyRuntimeAdapter.eval(Ruby runtime,
java.lang.String script) |
private static void |
RubyTime.exactTypeError(Ruby runtime,
IRubyObject received) |
private static IRubyObject |
RubyKernel.execCommon(Ruby runtime,
IRubyObject env,
IRubyObject prog,
IRubyObject options,
IRubyObject[] args) |
private static void |
RubyKernel.exit(Ruby runtime,
IRubyObject[] args,
boolean hard) |
private static long[] |
RubyFile.extractTimeval(Ruby runtime,
IRubyObject value)
Extract a timeval (an array of 2 longs: seconds and microseconds from epoch) from
an IRubyObject.
|
static void |
RubyIO.failIfDirectory(Ruby runtime,
RubyString pathStr) |
void |
RubyHash.fastASetCheckString(Ruby runtime,
IRubyObject key,
IRubyObject value) |
void |
RubyHash.fastASetCheckString19(Ruby runtime,
IRubyObject key,
IRubyObject value)
Deprecated.
|
void |
RubyHash.fastASetSmallCheckString(Ruby runtime,
IRubyObject key,
IRubyObject value) |
void |
RubyHash.fastASetSmallCheckString19(Ruby runtime,
IRubyObject key,
IRubyObject value)
Deprecated.
|
static RubyFixnum |
RubyFixnum.five(Ruby runtime) |
private void |
RubyRange.fixnumEach(ThreadContext context,
Ruby runtime,
Block block) |
private void |
RubyRange.fixnumStep(ThreadContext context,
Ruby runtime,
long step,
Block block) |
private static void |
RubyNumeric.fixnumStep(ThreadContext context,
Ruby runtime,
long from,
long to,
long step,
Block block) |
protected static void |
RubyNumeric.floatStep(ThreadContext context,
Ruby runtime,
IRubyObject from,
IRubyObject to,
IRubyObject step,
Block block) |
(package private) static void |
RubyNumeric.floatStep19(ThreadContext context,
Ruby runtime,
IRubyObject from,
IRubyObject to,
IRubyObject step,
boolean excl,
Block block) |
private static IRubyObject |
RubyDir.foreachCommon(ThreadContext context,
IRubyObject recv,
Ruby runtime,
RubyString _path,
Block block) |
static RubyFixnum |
RubyFixnum.four(Ruby runtime) |
private org.jruby.util.ByteList |
RubyInteger.fromEncodedBytes(Ruby runtime,
org.jcodings.Encoding enc,
int value) |
protected static java.util.List<RubyString> |
RubyDir.getContents(FileResource directory,
Ruby runtime)
Returns the contents of the specified
directory as an
ArrayList containing the names of the files as Ruby Strings. |
private static java.lang.String |
RubyDir.getCWD(Ruby runtime) |
static IRubyObject |
RubyEncoding.getDefaultExternal(Ruby runtime)
Deprecated.
|
static IRubyObject |
RubyEncoding.getDefaultInternal(Ruby runtime)
Deprecated.
|
protected static FileResource |
RubyDir.getDir(Ruby runtime,
java.lang.String path,
boolean mustExist)
Returns a Java
File object for the specified path. |
protected static JRubyFile |
RubyDir.getDirForRmdir(Ruby runtime,
java.lang.String path)
Similar to getDir, but performs different checks to match rmdir behavior.
|
private org.jcodings.Encoding |
RubyRegexp.getEncoding(Ruby runtime,
org.jruby.util.ByteList str) |
private static org.jcodings.Encoding |
RubyString.getEncoding(Ruby runtime,
IRubyObject toEnc) |
private org.jcodings.Encoding |
RubyString.getEncodingForKCodeDefault(Ruby runtime,
org.joni.Regex pattern,
IRubyObject pat) |
static org.jcodings.Encoding |
RubyEncoding.getEncodingFromObject(Ruby runtime,
IRubyObject arg)
Deprecated.
|
private static IRubyObject |
RubyTime.getEnvTimeZone(Ruby runtime) |
static ModeFlags |
RubyIO.getIOModes(Ruby runtime,
java.lang.String modesString)
Deprecated.
|
static int |
RubyIO.getIOModesIntFromString(Ruby runtime,
java.lang.String modesString)
Deprecated.
|
private static RubyString |
RubyKernel.getLastlineString(ThreadContext context,
Ruby runtime)
Returns value of $_.
|
IRubyObject |
RubyIO.getline(Ruby runtime,
org.jruby.util.ByteList separator)
Deprecated.
|
IRubyObject |
RubyIO.getline(Ruby runtime,
org.jruby.util.ByteList separator,
long limit)
Deprecated.
|
private IRubyObject |
RubyIO.getlineEmptyString(Ruby runtime) |
private IRubyObject |
RubyIO.getlineFast(Ruby runtime,
int delim,
RubyIO.ByteListCache cache) |
static org.joda.time.DateTimeZone |
RubyTime.getLocalTimeZone(Ruby runtime) |
private static RubyModule |
RubyKernel.getModuleForAutoload(Ruby runtime,
IRubyObject recv) |
IRubyObject[] |
RubyMatchData.getNamedBackrefValues(Ruby runtime) |
private static org.jruby.util.ByteList |
RubyIO.getNilByteList(Ruby runtime) |
static IRubyObject |
RubyProcess.getpgid(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.getpgrp(Ruby runtime) |
private static org.joni.Regex |
RubyRegexp.getPreprocessedRegexpFromCache(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
RegexpOptions options,
RubyRegexp.ErrorMode mode) |
static IRubyObject |
RubyProcess.getpriority(Ruby runtime,
IRubyObject arg1,
IRubyObject arg2) |
(package private) static org.joni.Regex |
RubyRegexp.getQuotedRegexpFromCache(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
RegexpOptions options) |
(package private) static org.joni.Regex |
RubyRegexp.getQuotedRegexpFromCache19(Ruby runtime,
org.jruby.util.ByteList bytes,
RegexpOptions options,
boolean asciiOnly) |
(package private) static org.joni.Regex |
RubyRegexp.getRegexpFromCache(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
RegexpOptions options) |
static IRubyObject |
RubyProcess.getrlimit(Ruby runtime,
IRubyObject arg) |
private org.jruby.util.ByteList |
RubyIO.getSeparatorForGets(Ruby runtime,
IRubyObject[] args) |
private org.jruby.util.ByteList |
RubyIO.getSeparatorFromArgs(Ruby runtime,
IRubyObject[] args,
int idx) |
private org.joni.Regex |
RubyString.getStringPattern(Ruby runtime,
org.jcodings.Encoding enc,
IRubyObject obj) |
private org.joni.Regex |
RubyString.getStringPattern19(Ruby runtime,
IRubyObject obj) |
static RubySymbol |
RubySymbol.getSymbolLong(Ruby runtime,
long id) |
static org.joda.time.DateTimeZone |
RubyTime.getTimeZone(Ruby runtime,
long seconds) |
private static org.joda.time.DateTimeZone |
RubyTime.getTimeZoneFromHHMM(Ruby runtime,
java.lang.String name,
boolean positive,
java.lang.String hours,
java.lang.String minutes) |
static org.joda.time.DateTimeZone |
RubyTime.getTimeZoneFromString(Ruby runtime,
java.lang.String zone) |
private static org.joda.time.DateTimeZone |
RubyTime.getTimeZoneFromTZString(Ruby runtime,
java.lang.String zone) |
static org.joda.time.DateTimeZone |
RubyTime.getTimeZoneFromUtcOffset(Ruby runtime,
IRubyObject utcOffset) |
static org.joda.time.DateTimeZone |
RubyTime.getTimeZoneWithOffset(Ruby runtime,
java.lang.String zoneName,
int offset) |
private static int |
RubyFile.getUmaskSafe(Ruby runtime)
Joy of POSIX, only way to get the umask is to set the umask,
then set it back.
|
static IRubyObject |
RubyProcess.gid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.gid(Ruby runtime) |
int |
RubyProcess.NonNativeErrno.handle(Ruby runtime,
int result) |
private IRubyObject |
RubyProc.handleBreakJump(Ruby runtime,
Block newBlock,
JumpException.BreakJump bj,
int jumpTarget) |
private IRubyObject |
RubyProc.handleRetryJump(Ruby runtime,
JumpException.RetryJump rj) |
private void |
RubyIO.incrementLineno(Ruby runtime,
OpenFile myOpenFile) |
private IRubyObject |
RubyString.indexCommon(Ruby runtime,
ThreadContext context,
IRubyObject sub,
int pos) |
private IRubyObject |
RubyString.indexCommon19(Ruby runtime,
ThreadContext context,
IRubyObject sub,
int pos) |
static void |
RubyArgsFile.initArgsFile(Ruby runtime) |
static void |
RubyGlobal.initARGV(Ruby runtime) |
IRubyObject |
RubyProcess.RubyStatus.inspect(Ruby runtime) |
private IRubyObject |
RubySymbol.inspect(Ruby runtime) |
private IRubyObject |
RubySymbol.inspect19(Ruby runtime) |
static RubyNumeric |
RubyNumeric.int2fix(Ruby runtime,
long val) |
protected IRubyObject |
RubyFile.ioClose(Ruby runtime) |
protected IRubyObject |
RubyIO.ioClose(Ruby runtime) |
private RubyString |
RubyString.justifyCommon(Ruby runtime,
org.jruby.util.ByteList pad,
int padCharLen,
boolean padSinglebyte,
org.jcodings.Encoding enc,
int width,
int jflag) |
private RubyString |
RubyString.justifyCommon(Ruby runtime,
org.jruby.util.ByteList pad,
int width,
int jflag) |
static IRubyObject |
RubyProcess.kill(Ruby runtime,
IRubyObject[] args) |
(package private) static java.lang.Integer[] |
RubyKernel.levelAndLengthFromArgs(Ruby runtime,
IRubyObject[] args,
int defaultLevel) |
private static IRubyObject |
RubyKernel.loadCommon(IRubyObject fileName,
Ruby runtime,
IRubyObject[] args,
Block block) |
private IRubyObject |
RubyFile.lock(Ruby runtime,
java.nio.channels.FileChannel fileChannel,
boolean exclusive) |
private static IRubyObject |
RubyFile.lockFailedReturn(Ruby runtime,
int lockMode) |
private static org.joni.Regex |
RubyRegexp.makeRegexp(Ruby runtime,
org.jruby.util.ByteList bytes,
RegexpOptions options,
org.jcodings.Encoding enc) |
RubyString |
RubyString.makeShared(Ruby runtime,
int index,
int len) |
RubyString |
RubyString.makeShared(Ruby runtime,
RubyClass meta,
int index,
int len) |
private RubyString |
RubyMatchData.makeShared(Ruby runtime,
RubyString str,
int begin,
int length) |
private RubyString |
RubyString.makeShared19(Ruby runtime,
org.jruby.util.ByteList value,
int index,
int len) |
RubyString |
RubyString.makeShared19(Ruby runtime,
int index,
int len) |
private RubyString |
RubyString.makeShared19(Ruby runtime,
RubyClass meta,
org.jruby.util.ByteList value,
int index,
int len) |
RubyString |
RubyString.makeShared19(Ruby runtime,
RubyClass meta,
int index,
int len) |
RubyString |
RubyString.makeSharedString(Ruby runtime,
int index,
int len) |
RubyString |
RubyString.makeSharedString19(Ruby runtime,
int index,
int len) |
private RubyString |
RubyIO.makeString(Ruby runtime,
org.jruby.util.ByteList buffer,
boolean isCached) |
private RubyArray |
RubyMatchData.match_array(Ruby runtime,
int start) |
static int |
RubyRegexp.matcherMatch(Ruby runtime,
org.joni.Matcher matcher,
int start,
int range,
int option) |
static int |
RubyRegexp.matcherSearch(Ruby runtime,
org.joni.Matcher matcher,
int start,
int range,
int option) |
static RubyFixnum |
RubyFixnum.minus_one(Ruby runtime) |
private static IRubyObject |
RubyDir.mkdirCommon(Ruby runtime,
java.lang.String path,
IRubyObject[] args) |
private IRubyObject |
RubyString.multiByteCasecmp(Ruby runtime,
org.jcodings.Encoding enc,
org.jruby.util.ByteList value,
org.jruby.util.ByteList otherValue) |
private IRubyObject |
RubyString.multiByteDowncase(Ruby runtime,
org.jcodings.Encoding enc,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.multiByteLStrip(Ruby runtime,
org.jcodings.Encoding enc,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.multiByteRStrip19(Ruby runtime) |
private IRubyObject |
RubyString.multibyteSubstr19(Ruby runtime,
org.jcodings.Encoding enc,
int len,
int beg,
int length) |
private IRubyObject |
RubyString.multiByteSwapcase(Ruby runtime,
org.jcodings.Encoding enc,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.multiByteUpcase(Ruby runtime,
org.jcodings.Encoding enc,
byte[] bytes,
int s,
int end) |
static RubyString |
RubyString.newAllocatedString(Ruby runtime,
RubyClass metaClass) |
static RubyArray |
RubyArray.newArray(Ruby runtime)
rb_ary_new
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
java.util.Collection<? extends IRubyObject> collection) |
static RubyArray |
RubyArray.newArray(Ruby runtime,
int len) |
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject obj) |
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject[] args)
rb_ary_new4, rb_ary_new3
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject car,
IRubyObject cdr)
rb_assoc_new
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
long len)
rb_ary_new2
|
static RubyArray |
RubyArray.newArrayLight(Ruby runtime)
rb_ary_new
|
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
int len) |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
IRubyObject... objs) |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
IRubyObject obj) |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
long len) |
static RubyArray |
RubyArray.newArrayNoCopy(Ruby runtime,
IRubyObject[] args) |
static RubyArray |
RubyArray.newArrayNoCopy(Ruby runtime,
IRubyObject[] args,
int begin) |
static RubyArray |
RubyArray.newArrayNoCopy(Ruby runtime,
IRubyObject[] args,
int begin,
int length) |
static RubyArray |
RubyArray.newArrayNoCopyLight(Ruby runtime,
IRubyObject[] args) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
java.math.BigInteger value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
double value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
long value) |
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
java.lang.String value) |
static RubyBinding |
RubyBinding.newBinding(Ruby runtime)
Deprecated.
|
static RubyBinding |
RubyBinding.newBinding(Ruby runtime,
Binding binding) |
static RubyBinding |
RubyBinding.newBinding(Ruby runtime,
IRubyObject self)
Deprecated.
|
static RubyBoolean |
RubyBoolean.newBoolean(Ruby runtime,
boolean value) |
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,
java.lang.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,
java.lang.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.
|
(package private) static RubyComplex |
RubyComplex.newComplexRaw(Ruby runtime,
IRubyObject x)
rb_complex_raw1
|
(package private) static RubyComplex |
RubyComplex.newComplexRaw(Ruby runtime,
IRubyObject x,
RubyObject y)
rb_complex_raw
|
static RubyRegexp |
RubyRegexp.newDRegexp(Ruby runtime,
RubyString pattern,
int joniOptions) |
static RubyRegexp |
RubyRegexp.newDRegexp(Ruby runtime,
RubyString pattern,
RegexpOptions options) |
static RubyRegexp |
RubyRegexp.newDRegexpEmbedded(Ruby runtime,
RubyString pattern,
int embeddedOptions) |
static RubyRegexp |
RubyRegexp.newDRegexpEmbedded19(Ruby runtime,
IRubyObject[] strings,
int embeddedOptions) |
(package private) static RubyRegexp |
RubyRegexp.newDummyRegexp(Ruby runtime,
org.joni.Regex regex) |
static RubyArray |
RubyArray.newEmptyArray(Ruby runtime) |
static RubyString |
RubyString.newEmptyString(Ruby runtime) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
org.jcodings.Encoding enc) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
RubyClass metaClass) |
static RubyString |
RubyString.newEmptyString(Ruby runtime,
RubyClass metaClass,
org.jcodings.Encoding enc) |
static RubyEncoding |
RubyEncoding.newEncoding(Ruby runtime,
byte[] name,
boolean isDummy) |
static RubyEncoding |
RubyEncoding.newEncoding(Ruby runtime,
byte[] name,
int p,
int end,
boolean isDummy) |
static RubyEncoding |
RubyEncoding.newEncoding(Ruby runtime,
org.jcodings.Encoding encoding) |
static RubyException |
RubyException.newException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg) |
static RubyRange |
RubyRange.newExclusiveRange(Ruby runtime,
ThreadContext context,
IRubyObject begin,
IRubyObject end) |
static RubyFileStat |
RubyFileStat.newFileStat(Ruby runtime,
java.io.FileDescriptor descriptor) |
static RubyFileStat |
RubyFileStat.newFileStat(Ruby runtime,
java.lang.String filename,
boolean lstat) |
static RubyFixnum |
RubyFixnum.newFixnum(Ruby runtime,
long value) |
static RubyFloat |
RubyFloat.newFloat(Ruby runtime,
double value) |
static RubyHash |
RubyHash.newHash(Ruby runtime)
rb_hash_new
|
static RubyHash |
RubyHash.newHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue)
rb_hash_new
|
static RubyRange |
RubyRange.newInclusiveRange(Ruby runtime,
ThreadContext context,
IRubyObject begin,
IRubyObject end) |
static RubySystemExit |
RubySystemExit.newInstance(Ruby runtime,
int status,
java.lang.String message) |
static RubyString |
RubyString.newInternalFromJavaExternal(Ruby runtime,
java.lang.String str)
Return a new Ruby String encoded as the default internal encoding given a Java String that
has come from an external source.
|
static RubyIO |
RubyIO.newIO(Ruby runtime,
java.nio.channels.Channel channel) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
int mode) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
IOOptions oldFlags,
int orOflags) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
long mode) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
ModeFlags modeFlags) |
static IOOptions |
RubyIO.newIOOptions(Ruby runtime,
java.lang.String mode) |
static IRubyObject |
RubyThread.Location.newLocationArray(Ruby runtime,
RubyStackTraceElement[] elements) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
int mode) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
long mode) |
static ModeFlags |
RubyIO.newModeFlags(Ruby runtime,
java.lang.String mode) |
static RubyModule |
RubyModule.newModule(Ruby runtime)
rb_module_new
|
static RubyModule |
RubyModule.newModule(Ruby runtime,
java.lang.String name,
RubyModule parent,
boolean setParent)
rb_module_new/rb_define_module_id/rb_name_class/rb_set_class_path
|
static RubyNumeric |
RubyNumeric.newNumeric(Ruby runtime) |
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block.Type type)
Deprecated.
|
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block block,
Block.Type type) |
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block block,
Block.Type type,
ISourcePosition sourcePosition) |
static RubyProcess.RubyStatus |
RubyProcess.RubyStatus.newProcessStatus(Ruby runtime,
long status,
long pid) |
static RubyRange |
RubyRange.newRange(Ruby runtime,
ThreadContext context,
IRubyObject begin,
IRubyObject end,
boolean isExclusive) |
static RubyRational |
RubyRational.newRational(Ruby runtime,
long x,
long y) |
(package private) static RubyRational |
RubyRational.newRationalRaw(Ruby runtime,
IRubyObject x)
rb_rational_raw1
|
(package private) static RubyRational |
RubyRational.newRationalRaw(Ruby runtime,
IRubyObject x,
IRubyObject y)
rb_rational_raw
|
static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
org.jruby.util.ByteList pattern) |
(package private) static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
org.jruby.util.ByteList str,
org.joni.Regex pattern) |
static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
org.jruby.util.ByteList pattern,
RegexpOptions options) |
static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
java.lang.String pattern,
RegexpOptions options) |
private RubyString |
RubySymbol.newShared(Ruby runtime) |
static RubyHash |
RubyHash.newSmallHash(Ruby runtime)
rb_hash_new
|
static RubyString |
RubyString.newString(Ruby runtime,
byte[] bytes) |
static RubyString |
RubyString.newString(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newString(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newString(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newString(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
RubyString.newString(Ruby runtime,
RubyClass clazz,
java.lang.CharSequence str)
Deprecated.
|
static RubyString |
RubyString.newString(Ruby runtime,
java.lang.String str) |
static RubyString |
RubyString.newStringLight(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringLight(Ruby runtime,
int size) |
static RubyString |
RubyString.newStringLight(Ruby runtime,
int size,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
byte[] bytes) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringNoCopy(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
int cr) |
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,
byte[] bytes) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
byte[] bytes,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
byte[] bytes,
int start,
int length,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding encoding) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
org.jruby.util.ByteList bytes,
int codeRange) |
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) |
static RubyString |
RubyString.newStringShared(Ruby runtime,
RubyString orig) |
static RubySymbol |
RubySymbol.newSymbol(Ruby runtime,
IRubyObject name) |
static RubySymbol |
RubySymbol.newSymbol(Ruby runtime,
java.lang.String name) |
static RubyTime |
RubyTime.newTime(Ruby runtime,
org.joda.time.DateTime dt) |
static RubyTime |
RubyTime.newTime(Ruby runtime,
org.joda.time.DateTime dt,
long nsec) |
static RubyTime |
RubyTime.newTime(Ruby runtime,
long milliseconds) |
static RubyString |
RubyString.newUnicodeString(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
RubyString.newUnicodeString(Ruby runtime,
java.lang.String str) |
static RubyString |
RubyString.newUSASCIIString(Ruby runtime,
java.lang.String str) |
static RubyString |
RubyString.newUsAsciiStringNoCopy(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newUsAsciiStringShared(Ruby runtime,
byte[] bytes,
int start,
int length) |
static RubyString |
RubyString.newUsAsciiStringShared(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyString.newUTF16String(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
RubyString.newUTF16String(Ruby runtime,
java.lang.String str) |
static RubyString |
RubyString.newUTF8String(Ruby runtime,
java.lang.CharSequence str) |
static RubyString |
RubyString.newUTF8String(Ruby runtime,
java.lang.String str) |
private void |
RubyRange.numericStep(ThreadContext context,
Ruby runtime,
IRubyObject step,
Block block) |
private void |
RubyRange.numericStep19(ThreadContext context,
Ruby runtime,
IRubyObject step,
Block block) |
private static IRubyObject |
RubyTime.numExact(Ruby runtime,
IRubyObject v) |
static RubyFixnum |
RubyFixnum.one(Ruby runtime) |
private IRubyObject |
RubyString.op_aref(Ruby runtime,
int idx) |
private IRubyObject |
RubyString.op_aref19(Ruby runtime,
int idx) |
protected void |
RubyHash.op_asetForString(Ruby runtime,
RubyString key,
IRubyObject value) |
protected void |
RubyHash.op_asetSmallForString(Ruby runtime,
RubyString key,
IRubyObject value) |
IRubyObject |
RubyProcess.RubyStatus.op_rshift(Ruby runtime,
IRubyObject other) |
private static RubyString |
RubyRegexp.operandCheck(Ruby runtime,
IRubyObject str) |
private static IRubyObject |
RubyEnumerable.packEnumValues(Ruby runtime,
IRubyObject[] args)
Package the arguments appropriately depending on how many there are
Corresponds to rb_enum_values_pack in MRI
|
JavaEmbedUtils.EvalUnit |
RubyRuntimeAdapter.parse(Ruby runtime,
java.io.InputStream in,
java.lang.String filename,
int lineNumber) |
JavaEmbedUtils.EvalUnit |
RubyRuntimeAdapter.parse(Ruby runtime,
java.lang.String script,
java.lang.String filename,
int lineNumber) |
private static int |
RubyProcess.parseSignalString(Ruby runtime,
java.lang.String value) |
private static org.joda.time.DateTimeZone |
RubyTime.parseTZString(Ruby runtime,
java.lang.String zone) |
private static org.joda.time.DateTimeZone |
RubyTime.parseZoneString(Ruby runtime,
java.lang.String zone) |
private IRubyObject |
RubyString.partitionMismatch(Ruby runtime) |
private static RubyClass |
RubyStruct.pathToClass(Ruby runtime,
java.lang.String path) |
static IRubyObject |
RubyProcess.pid(Ruby runtime) |
private static IRubyObject[] |
RubyKernel.popenArgs(Ruby runtime,
java.lang.String pipedArg,
IRubyObject[] args) |
private IRubyObject |
RubyString.populateCapturesForScan(Ruby runtime,
org.joni.Matcher matcher,
int range,
int tuFlags,
boolean is19) |
private void |
RubyString.populateCapturesForSplit(Ruby runtime,
RubyArray result,
org.joni.Matcher matcher,
boolean is19) |
static IRubyObject |
RubyProcess.ppid(Ruby runtime) |
(package private) static org.joni.Regex |
RubyRegexp.preparePattern(Ruby runtime,
org.joni.Regex pattern,
RubyString str) |
private IRubyObject |
RubyThread.prepareRaiseException(Ruby runtime,
IRubyObject[] args,
Block block) |
private static org.jruby.util.ByteList |
RubyRegexp.preprocess(Ruby runtime,
org.jruby.util.ByteList str,
org.jcodings.Encoding enc,
org.jcodings.Encoding[] fixedEnc,
RubyRegexp.ErrorMode mode)
Preprocess the given string for use in regexp, raising errors for encoding
incompatibilities that arise.
|
static void |
RubyRegexp.preprocessCheck(Ruby runtime,
org.jruby.util.ByteList bytes) |
static RubyString |
RubyRegexp.preprocessDRegexp(Ruby runtime,
IRubyObject[] strings,
RegexpOptions options) |
private static void |
RubyRegexp.preprocessLight(Ruby runtime,
org.jruby.util.ByteList str,
org.jcodings.Encoding enc,
org.jcodings.Encoding[] fixedEnc,
RubyRegexp.ErrorMode mode)
Preprocess the given string for use in regexp, raising errors for encoding
incompatibilities that arise.
|
private static void |
RubyKernel.printExceptionSummary(ThreadContext context,
Ruby runtime,
RubyException rEx) |
private static void |
RubyIO.putsSingle(ThreadContext context,
Ruby runtime,
IRubyObject maybeIO,
IRubyObject arg,
RubyString separator) |
private static void |
RubyProcess.raiseErrnoIfSet(Ruby runtime,
RubyProcess.NonNativeErrno nonNative) |
private static int |
RubyRegexp.raisePreprocessError(Ruby runtime,
org.jruby.util.ByteList str,
java.lang.String err,
RubyRegexp.ErrorMode mode) |
private static void |
RubyRegexp.raiseRegexpError(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
RegexpOptions options,
java.lang.String err) |
private static void |
RubyRegexp.raiseRegexpError19(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
RegexpOptions options,
java.lang.String err) |
static RubyBignum |
RubyRandom.randomSeed(Ruby runtime) |
protected org.jruby.util.ByteList |
RubyIO.readAllCommon(Ruby runtime) |
private static int |
RubyRegexp.readEscapedByte(Ruby runtime,
byte[] to,
int toP,
byte[] bytes,
int p,
int end,
org.jruby.util.ByteList str,
RubyRegexp.ErrorMode mode) |
(package private) static void |
RubyBasicObject.recacheBuiltinMethods(Ruby runtime) |
(package private) static void |
RubyKernel.recacheBuiltinMethods(Ruby runtime)
Cache built-in versions of several core methods, to improve performance by using identity comparison (==) rather
than going ahead with dynamic dispatch.
|
private static org.jruby.util.ByteList |
RubyRegexp.regexpDescription(Ruby runtime,
byte[] bytes,
int start,
int len,
org.jcodings.Encoding enc,
RegexpOptions options) |
private static org.jruby.util.ByteList |
RubyRegexp.regexpDescription(Ruby runtime,
org.jruby.util.ByteList bytes,
org.jcodings.Encoding enc,
RegexpOptions options) |
private static org.jruby.util.ByteList |
RubyRegexp.regexpDescription19(Ruby runtime,
byte[] s,
int start,
int len,
RegexpOptions options,
org.jcodings.Encoding enc) |
(package private) static org.jruby.util.ByteList |
RubyRegexp.regexpDescription19(Ruby runtime,
org.jruby.util.ByteList bytes,
RegexpOptions options,
org.jcodings.Encoding enc) |
protected void |
RubyIO.reopenIO(Ruby runtime,
RubyIO ios) |
protected void |
RubyIO.reopenPath(Ruby runtime,
IRubyObject[] args) |
private static void |
RubyArray.repeatCombination(ThreadContext context,
Ruby runtime,
IRubyObject[] values,
int[] stack,
int index,
int max,
Block block) |
private static IRubyObject |
RubyKernel.requireCommon(Ruby runtime,
IRubyObject recv,
IRubyObject name,
Block block) |
private boolean |
RubyBasicObject.respondsTo19(Ruby runtime,
java.lang.String name) |
static IRubyObject |
RubyProcess.UserID.rid(Ruby runtime) |
static IRubyObject |
RubyProcess.GroupID.rid(Ruby runtime) |
private IRubyObject |
RubyString.rindexCommon(Ruby runtime,
ThreadContext context,
IRubyObject sub,
int pos) |
private IRubyObject |
RubyString.rindexCommon19(Ruby runtime,
ThreadContext context,
IRubyObject sub,
int pos) |
private static IRubyObject |
RubyDir.rmdirCommon(Ruby runtime,
java.lang.String path) |
private IRubyObject |
RubyString.rpartitionMismatch(Ruby runtime) |
private RubyString |
RubySymbol.rubyStringFromString(Ruby runtime) |
private void |
RubyArray.safeArrayCopy(Ruby runtime,
IRubyObject[] source,
int sourceStart,
IRubyObject[] target,
int targetStart,
int length) |
private IRubyObject |
RubyArray.safeArrayRef(Ruby runtime,
IRubyObject[] values,
int i) |
private static IRubyObject |
RubyArray.safeArrayRefCondSet(Ruby runtime,
IRubyObject[] values,
int i,
boolean doSet,
IRubyObject value) |
private static IRubyObject |
RubyArray.safeArrayRefSet(Ruby runtime,
IRubyObject[] values,
int i,
IRubyObject value) |
private static IRubyObject |
RubyArray.safeArraySet(Ruby runtime,
IRubyObject[] values,
int i,
IRubyObject value) |
private DynamicMethod |
RubyModule.searchForAliasMethod(Ruby runtime,
java.lang.String name) |
static IRubyObject |
RubyIO.select_static(ThreadContext context,
Ruby runtime,
IRubyObject[] args) |
private org.jruby.util.ByteList |
RubyIO.separator(Ruby runtime) |
private org.jruby.util.ByteList |
RubyIO.separator(Ruby runtime,
IRubyObject separatorValue) |
static void |
Ruby.setCurrentInstance(Ruby runtime)
Deprecated.
|
private static void |
Ruby.setGlobalRuntimeFirstTimeOnly(Ruby runtime)
Set the global runtime to the given runtime only if it has no been set.
|
static IRubyObject |
RubyProcess.setpgid(Ruby runtime,
IRubyObject arg1,
IRubyObject arg2) |
static IRubyObject |
RubyProcess.setpgrp(Ruby runtime) |
static IRubyObject |
RubyProcess.setpriority(Ruby runtime,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static IRubyObject |
RubyProcess.setsid(Ruby runtime) |
static void |
Ruby.setThreadLocalRuntime(Ruby ruby)
Set the thread-local runtime to the given runtime.
|
private IRubyObject |
RubyString.singleByteDowncase(Ruby runtime,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.singleByteLStrip(Ruby runtime,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.singleByteRStrip(Ruby runtime,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.singleByteRStrip19(Ruby runtime) |
private IRubyObject |
RubyString.singleByteStrip(Ruby runtime,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.singleByteSwapcase(Ruby runtime,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyString.singleByteUpcase(Ruby runtime,
byte[] bytes,
int s,
int end) |
private IRubyObject |
RubyArray.slice_internal(long pos,
long len,
IRubyObject arg0,
IRubyObject arg1,
Ruby runtime) |
private IRubyObject |
RubyString.smartChopBangCommon(Ruby runtime) |
private IRubyObject |
RubyString.smartChopBangCommon19(Ruby runtime) |
private IRubyObject |
RubyString.squeezeCommon(Ruby runtime,
boolean[] squeeze) |
private IRubyObject |
RubyString.squeezeCommon19(Ruby runtime,
boolean[] squeeze,
RubyString.TrTables tables,
org.jcodings.Encoding enc,
boolean isArg) |
private IRubyObject |
RubyThread.status(Ruby runtime) |
static RubyFloat |
RubyNumeric.str2fnum(Ruby runtime,
RubyString arg) |
static RubyFloat |
RubyNumeric.str2fnum(Ruby runtime,
RubyString arg,
boolean strict)
Converts a string representation of a floating-point number to the
numeric value.
|
static RubyFloat |
RubyNumeric.str2fnum19(Ruby runtime,
RubyString arg,
boolean strict) |
private static RubyFloat |
RubyNumeric.str2fnumCommon(Ruby runtime,
RubyString arg,
boolean strict,
RubyNumeric.ByteListCaller caller) |
static RubyInteger |
RubyNumeric.str2inum(Ruby runtime,
RubyString str,
int base) |
static RubyInteger |
RubyNumeric.str2inum(Ruby runtime,
RubyString str,
int base,
boolean strict)
Converts a string representation of an integer to the integer value.
|
RubyString |
RubyString.strDup(Ruby runtime) |
(package private) RubyString |
RubyString.strDup(Ruby runtime,
RubyClass clazz) |
int |
RubyString.strHashCode(Ruby runtime)
Generate a hash for the String, using its associated Ruby instance's hash seed.
|
private IRubyObject |
RubyString.subBangIter19(Ruby runtime,
ThreadContext context,
org.joni.Regex pattern,
org.joni.Regex prepared,
RubyHash hash,
Block block,
RubyRegexp regexp) |
private IRubyObject |
RubyString.subBangNoIter19(Ruby runtime,
ThreadContext context,
org.joni.Regex pattern,
org.joni.Regex prepared,
RubyString repl,
RubyRegexp regexp) |
private IRubyObject |
RubyString.subpat(Ruby runtime,
ThreadContext context,
RubyRegexp regex,
int nth) |
private IRubyObject |
RubyString.subpat19(Ruby runtime,
ThreadContext context,
RubyRegexp regex) |
private IRubyObject |
RubyString.subpat19(Ruby runtime,
ThreadContext context,
RubyRegexp regex,
IRubyObject backref) |
private int |
RubyString.subpatSetCheck(Ruby runtime,
int nth,
org.joni.Region regs) |
IRubyObject |
RubyString.substr(Ruby runtime,
int beg,
int len) |
IRubyObject |
RubyString.substr19(Ruby runtime,
int beg,
int len) |
private static org.jruby.util.ByteList |
RubySymbol.symbolBytesFromString(Ruby runtime,
java.lang.String internedSymbol) |
private IRubyObject |
RubyConverter.symbolFromResult(RubyCoderResult result,
Ruby runtime,
int flags,
ThreadContext context) |
protected void |
RubyBasicObject.taint(Ruby runtime) |
static RubyFixnum |
RubyFixnum.three(Ruby runtime) |
static IRubyObject |
RubyProcess.times(Ruby runtime) |
IRubyObject |
RubyProcess.RubyStatus.to_i(Ruby runtime) |
private RubyFixnum |
RubySymbol.to_i(Ruby runtime) |
private RubyFixnum |
RubySymbol.to_int(Ruby runtime) |
IRubyObject |
RubyProcess.RubyStatus.to_s(Ruby runtime) |
private IRubyObject |
RubySymbol.to_s(Ruby runtime) |
org.jcodings.Encoding |
RubyString.toEncoding(Ruby runtime) |
private int |
RubyString.trNext(RubyString.TR t,
Ruby runtime,
org.jcodings.Encoding enc) |
private RubyString.TrTables |
RubyString.trSetupTable(Ruby runtime,
boolean[] table,
RubyString.TrTables tables,
boolean init,
org.jcodings.Encoding enc) |
private IRubyObject |
RubyFile.tryLock(Ruby runtime,
java.nio.channels.FileChannel fileChannel,
boolean exclusive) |
static RubyFixnum |
RubyFixnum.two(Ruby runtime) |
static IRubyObject |
RubyProcess.uid_set(Ruby runtime,
IRubyObject arg) |
static IRubyObject |
RubyProcess.uid(Ruby runtime) |
abstract RaiseException |
RubyKernel.Uncaught.uncaughtThrow(Ruby runtime,
java.lang.String message,
IRubyObject tag) |
private static int |
RubyRegexp.unescapeEscapedNonAscii(Ruby runtime,
org.jruby.util.ByteList to,
byte[] bytes,
int p,
int end,
org.jcodings.Encoding enc,
org.jcodings.Encoding[] encp,
org.jruby.util.ByteList str,
RubyRegexp.ErrorMode mode)
Unescape escaped non-ascii character at start position, appending all
to the given bytelist if provided.
|
private static boolean |
RubyRegexp.unescapeNonAscii(Ruby runtime,
org.jruby.util.ByteList to,
byte[] bytes,
int p,
int end,
org.jcodings.Encoding enc,
org.jcodings.Encoding[] encp,
org.jruby.util.ByteList str,
RubyRegexp.ErrorMode mode)
Unescape non-ascii elements in the given string, appending the results
to the given bytelist if provided.
|
private static int |
RubyRegexp.unescapeUnicodeBmp(Ruby runtime,
org.jruby.util.ByteList to,
byte[] bytes,
int p,
int end,
org.jcodings.Encoding[] encp,
org.jruby.util.ByteList str,
RubyRegexp.ErrorMode mode)
Unescape unicode BMP char at given offset, appending to the specified
buffer if non-null.
|
private static int |
RubyRegexp.unescapeUnicodeList(Ruby runtime,
org.jruby.util.ByteList to,
byte[] bytes,
int p,
int end,
org.jcodings.Encoding[] encp,
org.jruby.util.ByteList str,
RubyRegexp.ErrorMode mode)
Unescape unicode characters at given offset, appending to the given
out buffer if provided.
|
private IRubyObject |
RubyFile.unlock(Ruby runtime) |
int |
RubyString.unseededStrHashCode(Ruby runtime)
Generate a hash for the String, without a seed.
|
static IRubyObject |
RubyProcess.wait(Ruby runtime,
IRubyObject[] args) |
static IRubyObject |
RubyProcess.waitall(Ruby runtime) |
static IRubyObject |
RubyProcess.waitpid(Ruby runtime,
IRubyObject[] args) |
static IRubyObject |
RubyProcess.waitpid2(Ruby runtime,
IRubyObject[] args) |
static RubyFixnum |
RubyFixnum.zero(Ruby runtime) |
static IRubyObject[] |
RubyEnumerable.zipCommonConvert(Ruby runtime,
IRubyObject[] args) |
static IRubyObject[] |
RubyEnumerable.zipCommonConvert(Ruby runtime,
IRubyObject[] args,
java.lang.String method) |
| Constructor and Description |
|---|
AbstractRubyMethod(Ruby runtime,
RubyClass rubyClass) |
AppendBlockCallback(Ruby runtime,
RubyArray result) |
ArgsFileData(Ruby runtime) |
ArrayNexter(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject[] methodArgs) |
BackRefGlobalVariable(Ruby runtime,
java.lang.String name) |
BacktraceGlobalVariable(Ruby runtime,
java.lang.String name) |
CaseInsensitiveStringOnlyRubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue,
boolean updateRealENV) |
ChunkedBlockCallback(Ruby runtime,
IRubyObject enumerator) |
ConvertingEntry(Ruby runtime,
RubyHash.RubyHashEntry entry) |
Data(Ruby runtime,
RubyClass metaClass,
java.lang.Object data) |
DebugGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject initialValue) |
ErrorInfoGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
False(Ruby runtime) |
IncludedModuleWrapper(Ruby runtime,
RubyClass superClass,
RubyModule delegate) |
InputGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
KCodeGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
LastExitStatusVariable(Ruby runtime,
java.lang.String name) |
LastlineGlobalVariable(Ruby runtime,
java.lang.String name) |
LastMatchGlobalVariable(Ruby runtime,
java.lang.String name) |
LineNumberGlobalVariable(Ruby runtime,
java.lang.String name) |
LoadedFeatures(Ruby runtime,
java.lang.String name) |
LoadPath(Ruby runtime,
java.lang.String name) |
Location(Ruby runtime,
RubyClass klass,
RubyStackTraceElement element) |
MatchMatchGlobalVariable(Ruby runtime,
java.lang.String name) |
MetaClass(Ruby runtime,
RubyClass superClass,
IRubyObject attached)
rb_class_boot (for MetaClasses) (in makeMetaClass(RubyClass))
|
NativeException(Ruby runtime,
RubyClass rubyClass) |
NativeException(Ruby runtime,
RubyClass rubyClass,
java.lang.Throwable cause) |
Nexter(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject[] methodArgs) |
NonEffectiveGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
OutputGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
PidAccessor(Ruby runtime) |
PostMatchGlobalVariable(Ruby runtime,
java.lang.String name) |
PreMatchGlobalVariable(Ruby runtime,
java.lang.String name) |
ProfilingCacheEntryFactory(Ruby runtime,
RubyModule.CacheEntryFactory previous) |
RandomType(Ruby runtime) |
ReadOnlySystemPropertiesHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue) |
ReadOnlySystemPropertiesHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue,
boolean updateRealENV) |
Ruby19POpen(Ruby runtime,
IRubyObject[] args) |
RubyArray(Ruby runtime,
boolean objectSpace) |
RubyArray(Ruby runtime,
int length) |
RubyArray(Ruby runtime,
int length,
boolean objectspace) |
RubyArray(Ruby runtime,
IRubyObject[] vals) |
RubyArray(Ruby runtime,
IRubyObject[] vals,
boolean objectSpace) |
RubyArray(Ruby runtime,
IRubyObject[] vals,
int begin) |
RubyArray(Ruby runtime,
IRubyObject[] vals,
int begin,
int length) |
RubyArray(Ruby runtime,
RubyClass klass) |
RubyArray(Ruby runtime,
RubyClass klass,
boolean objectSpace) |
RubyArray(Ruby runtime,
RubyClass klass,
int length) |
RubyArray(Ruby runtime,
RubyClass klass,
IRubyObject[] vals) |
RubyArray(Ruby runtime,
RubyClass klass,
IRubyObject[] vals,
boolean objectspace) |
RubyArray(Ruby runtime,
RubyClass metaClass,
IRubyObject[] vals,
int begin,
int length) |
RubyArray(Ruby runtime,
RubyClass klass,
RubyArray original) |
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.
|
RubyBignum(Ruby runtime,
java.math.BigInteger value) |
RubyBinding(Ruby runtime,
RubyClass rubyClass) |
RubyBinding(Ruby runtime,
RubyClass rubyClass,
Binding binding) |
RubyBoolean(Ruby runtime,
boolean value) |
RubyClass(Ruby runtime)
used by CLASS_ALLOCATOR (any Class' class will be a Class!)
also used to bootstrap Object class
|
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.
|
RubyClassPathVariable(Ruby runtime) |
RubyComplex(Ruby runtime,
IRubyObject clazz,
IRubyObject real,
IRubyObject image)
internal
|
RubyContinuation(Ruby runtime) |
RubyContinuation(Ruby runtime,
IRubyObject tag)
A RubyContinuation used for catch/throw, which have a tag associated
|
RubyConverter(Ruby runtime) |
RubyConverter(Ruby runtime,
RubyClass klass) |
RubyDir(Ruby runtime,
RubyClass type) |
RubyEncoding(Ruby runtime,
byte[] name,
boolean isDummy) |
RubyEncoding(Ruby runtime,
byte[] name,
org.jcodings.Encoding encoding,
boolean isDummy) |
RubyEncoding(Ruby runtime,
byte[] name,
int p,
int end,
boolean isDummy) |
RubyEncoding(Ruby runtime,
org.jcodings.Encoding encoding) |
RubyEnumerator(Ruby runtime,
RubyClass type) |
RubyEnumerator(Ruby runtime,
RubyClass type,
IRubyObject object,
IRubyObject method,
IRubyObject[] args) |
RubyException(Ruby runtime,
RubyClass rubyClass) |
RubyException(Ruby runtime,
RubyClass rubyClass,
java.lang.String message) |
RubyFile(Ruby runtime,
RubyClass type) |
RubyFile(Ruby runtime,
java.lang.String path,
java.io.InputStream in) |
RubyFile(Ruby runtime,
java.lang.String path,
java.io.Reader reader) |
RubyFileStat(Ruby runtime,
RubyClass clazz) |
RubyFixnum(Ruby runtime) |
RubyFixnum(Ruby runtime,
long value) |
RubyFloat(Ruby runtime) |
RubyFloat(Ruby runtime,
double value) |
RubyHash(Ruby runtime) |
RubyHash(Ruby runtime,
boolean objectSpace) |
RubyHash(Ruby runtime,
int buckets) |
RubyHash(Ruby runtime,
IRubyObject defaultValue) |
RubyHash(Ruby runtime,
IRubyObject defaultValue,
int buckets) |
RubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue) |
RubyHash(Ruby runtime,
RubyClass klass) |
RubyHash(Ruby runtime,
RubyClass klass,
RubyHash other) |
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,
java.nio.channels.Channel channel) |
RubyIO(Ruby runtime,
java.io.InputStream inputStream) |
RubyIO(Ruby runtime,
java.io.OutputStream outputStream) |
RubyIO(Ruby runtime,
java.io.OutputStream outputStream,
boolean autoclose) |
RubyIO(Ruby runtime,
RubyClass type) |
RubyIO(Ruby runtime,
RubyClass cls,
ShellLauncher.POpenProcess process,
RubyHash options,
IOOptions ioOptions)
Deprecated.
|
RubyIO(Ruby runtime,
ShellLauncher.POpenProcess process,
IOOptions ioOptions) |
RubyIO(Ruby runtime,
STDIO stdio) |
RubyLocalJumpError(Ruby runtime,
RubyClass exceptionClass) |
RubyLocalJumpError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
RubyLocalJumpError.Reason reason,
IRubyObject exitValue) |
RubyMatchData(Ruby runtime) |
RubyMatchData(Ruby runtime,
RubyClass metaClass) |
RubyMethod(Ruby runtime,
RubyClass rubyClass) |
RubyModule(Ruby runtime)
standard path for Module construction
|
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,
java.lang.String message) |
RubyNameError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
IRubyObject name) |
RubyNameError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
java.lang.String name) |
RubyNameErrorMessage(Ruby runtime,
IRubyObject object,
IRubyObject method,
Visibility visibility,
CallType callType) |
RubyNil(Ruby runtime) |
RubyNoMethodError(Ruby runtime,
RubyClass exceptionClass) |
RubyNoMethodError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
java.lang.String name,
IRubyObject args) |
RubyNumeric(Ruby runtime,
RubyClass metaClass) |
RubyNumeric(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace) |
RubyNumeric(Ruby runtime,
RubyClass metaClass,
boolean useObjectSpace,
boolean canBeTainted)
Deprecated.
|
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) |
RubyRandom(Ruby runtime,
RubyClass rubyClass) |
RubyRange(Ruby runtime,
RubyClass klass) |
RubyRational(Ruby runtime,
IRubyObject clazz,
IRubyObject num,
IRubyObject den)
internal
|
RubyRegexp(Ruby runtime)
default constructor
|
RubyRegexp(Ruby runtime,
org.jruby.util.ByteList str) |
RubyRegexp(Ruby runtime,
org.jruby.util.ByteList str,
RegexpOptions options) |
RubyRegexp(Ruby runtime,
RubyClass klass)
used by allocator
|
RubyStatus(Ruby runtime,
RubyClass metaClass,
long status,
long pid) |
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,
java.lang.CharSequence value) |
RubyString(Ruby runtime,
RubyClass rubyClass,
java.lang.CharSequence value,
org.jcodings.Encoding defaultEncoding) |
RubyStringIO(Ruby runtime,
RubyClass klass) |
RubyStruct(Ruby runtime,
RubyClass rubyClass)
Constructor for RubyStruct.
|
RubySymbol(Ruby runtime,
java.lang.String internedSymbol) |
RubySymbol(Ruby runtime,
java.lang.String internedSymbol,
org.jruby.util.ByteList symbolBytes) |
RubySystemCallError(Ruby runtime,
RubyClass rubyClass) |
RubySystemCallError(Ruby runtime,
RubyClass rubyClass,
java.lang.String message,
int errno) |
RubySystemExit(Ruby runtime,
RubyClass exceptionClass) |
RubyThread(Ruby runtime,
RubyClass type) |
RubyThread(Ruby runtime,
RubyClass klass,
ThreadedRunnable runnable) |
RubyThreadGroup(Ruby runtime,
RubyClass type) |
RubyTime(Ruby runtime,
RubyClass rubyClass) |
RubyTime(Ruby runtime,
RubyClass rubyClass,
org.joda.time.DateTime dt) |
RubyUnboundMethod(Ruby runtime) |
RubyYielder(Ruby runtime) |
RubyYielder(Ruby runtime,
RubyClass klass) |
SafeGlobalVariable(Ruby runtime,
java.lang.String name) |
StringGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
StringOnlyRubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue) |
StringOnlyRubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue,
boolean updateRealENV) |
SymbolTable(Ruby runtime) |
ThreadedNexter(Ruby runtime,
IRubyObject object,
java.lang.String method,
IRubyObject[] methodArgs) |
True(Ruby runtime) |
VerboseGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject initialValue) |
WarningGlobalVariable(Ruby runtime,
java.lang.String name,
RubyInstanceConfig.Verbosity verbosity) |
WeakMap(Ruby runtime,
RubyClass cls) |
| Modifier and Type | Method and Description |
|---|---|
protected RubyString |
DNode.allocateString(Ruby runtime) |
void |
DNode.appendToString(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock,
RubyString string,
Node node) |
protected void |
Hash19Node.aset(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
protected void |
HashNode.aset(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
protected void |
Hash19Node.asetSmall(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
protected void |
HashNode.asetSmall(Ruby runtime,
RubyHash hash,
IRubyObject key,
IRubyObject value) |
IRubyObject |
AttrAssignNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
AttrAssignOneArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block aBlock,
boolean checkArity) |
IRubyObject |
AttrAssignThreeArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block aBlock,
boolean checkArity) |
IRubyObject |
AttrAssignTwoArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block aBlock,
boolean checkArity) |
IRubyObject |
CallNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
ClassVarAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
ClassVarDeclNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
ConstDeclNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
DAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
GlobalAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
InstAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
LocalAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
MultipleAsgn19Node.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
MultipleAsgnNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
Node.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
IRubyObject |
OptArgNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject assignValue,
Block block,
boolean checkArity) |
IRubyObject |
StarNode.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
protected void |
ArgsNode.assignKwargs(RubyHash keyValues,
Ruby runtime,
ThreadContext context,
DynamicScope scope,
IRubyObject self) |
protected int |
ArgsNode.assignOptArgs(IRubyObject[] args,
Ruby runtime,
ThreadContext context,
IRubyObject self,
int givenArgsCount,
int arglen) |
private RubyString |
DRegexpNode.buildDRegexpString19(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
DNode.buildDynamicString(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
void |
ArgsNode.checkArgCount(Ruby runtime,
int argsLength) |
void |
ArgsPreTwoArgNode.checkArgCount(Ruby runtime,
int length) |
void |
ArgsNode.checkArgCount(Ruby runtime,
java.lang.String name,
int argsLength) |
private boolean |
OpAsgnOrNode.defined(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block aBlock) |
RubyString |
AndNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
AssignableNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
AttrAssignNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
BackRefNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
CallNoArgNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
CallNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
ClassVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Colon2ConstNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Colon2ImplicitNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
This type of node will never get created as part of a defined? call since it will then
appear to be a ConstNode.
|
RubyString |
Colon2MethodNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Colon3Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
ConstNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
DNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
DVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
FCallNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
FalseNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
GlobalVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
InstVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
LocalVarNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Match2Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Match3Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NewlineNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NilNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
Node.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NotNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
NthRefNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
OpAsgnAndNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
OpAsgnOrNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
OrNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
SelfNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
SuperNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
TrueNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
VCallNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
YieldNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyString |
ZSuperNode.definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
boolean |
FalseNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
FixnumNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
NilNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
SymbolNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
boolean |
TrueNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
private IRubyObject |
RescueNode.executeBody(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
private static RubyBoolean |
FlipNode.falseIfTrue(Ruby runtime,
IRubyObject truish) |
RubyModule |
Colon2ImplicitNode.getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
RubyModule |
Colon2Node.getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
RubyModule |
Colon3Node.getEnclosingModule(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Get parent module/class that this module represents
|
private IRubyObject[] |
RescueNode.getExceptions(RescueBodyNode cRescueNode,
Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyFixnum |
FixnumNode.getFixnum(Ruby runtime) |
RubyFloat |
FloatNode.getFloat(Ruby runtime) |
RubyString |
DRegexpNode.getString(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock,
RubyString string,
Node node) |
RubySymbol |
SymbolNode.getSymbol(Ruby runtime) |
private IRubyObject |
InstVarNode.getValue(Ruby runtime,
IRubyObject self) |
private IRubyObject |
InstVarNode.getVariable(Ruby runtime,
IRubyObject self,
boolean warn) |
private IRubyObject |
RescueNode.handleException(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock,
RaiseException raiseJump) |
private IRubyObject |
RescueNode.handleJavaException(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock,
java.lang.Throwable throwable) |
IRubyObject |
AliasNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AndNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ArgsCatNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ArgsPushNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ArrayNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignOneArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignThreeArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
AttrAssignTwoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BackRefNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BeginNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BignumNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
BlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
IRubyObject |
BreakNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallManyArgsBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallManyArgsBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallManyArgsNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgFixnumNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallOneArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallSpecialArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallSpecialArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallSpecialArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallThreeArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallThreeArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallThreeArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallTwoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallTwoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CallTwoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
CaseNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassVarAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassVarDeclNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ClassVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Colon2ConstNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Colon2ImplicitNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
This type of node will never get interpreted since it only gets created via class/module
declaration time.
|
IRubyObject |
Colon2MethodNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Colon3Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ConstDeclNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ConstNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DRegexpNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DSymbolNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DXStrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DefinedNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DefnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DefsNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
DotNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
EncodingNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
EnsureNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
EvStrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallManyArgsBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallManyArgsBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallManyArgsNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallOneArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallOneArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallOneArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallSpecialArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallSpecialArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallSpecialArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallThreeArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallThreeArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallThreeArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallTwoArgBlockNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallTwoArgBlockPassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FCallTwoArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FalseNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FixnumNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FlipNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
FloatNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ForNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
GlobalAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
GlobalVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
HashNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
IfNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
InstAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
InstVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
IterNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
LambdaNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
LocalAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
LocalVarNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Match2CaptureNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Match2Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Match3Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
MatchNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ModuleNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
MultipleAsgn19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
MultipleAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NewlineNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NextNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NilNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NotNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
NthRefNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpAsgnAndNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpAsgnOrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementOneArgAndAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementOneArgAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OpElementOneArgOrAsgnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OptArgNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
OrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
PostExeNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
PreExe19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
PreExeNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RedoNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RegexpNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RescueBodyNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RescueNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RetryNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ReturnNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
RootNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SClassNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SValue19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SValueNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SelfNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Splat19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SplatNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
StrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SuperNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
SymbolNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ToAryNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
TrueNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
UndefNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
UntilNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
VAliasNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
VCallNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
WhenNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
WhileNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
XStrNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
Yield19Node.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldOneNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldThreeNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
YieldTwoNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ZArrayNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ZSuperNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject |
ZYieldNode.interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
IRubyObject[] |
ArrayNode.interpretPrimitive(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
RubyRegexp |
RegexpNode.loadPattern(Ruby runtime) |
private void |
ArgsNode.masgnAwareArgAssign(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block,
DynamicScope scope) |
private IRubyObject |
AttrAssignNode.otherAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
Block block) |
void |
ArgsNoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block) |
void |
ArgsPreOneArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block) |
void |
ArgsPreTwoArgNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
IRubyObject arg8,
Block block) |
void |
ArgsNode.prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
IRubyObject arg8,
IRubyObject arg9,
Block block) |
protected int |
ArgsNode.prepareOptionalArguments(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
int arglen) |
protected void |
ArgsNode.prepareOptOrRestArgs(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject self,
IRubyObject[] args,
RubyHash kwvals) |
protected void |
ArgsNode.prepareRestArg(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject[] args,
int arglen,
int givenArgsCount) |
protected void |
ArgsNode.processBlockArg(DynamicScope scope,
Ruby runtime,
Block block) |
private IRubyObject |
AttrAssignNode.selfAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
private static RubyBoolean |
FlipNode.trueIfTrue(Ruby runtime,
IRubyObject truish) |
private void |
InstVarNode.warnAboutUninitializedIvar(Ruby runtime) |
IRubyObject |
WhenNode.when(IRubyObject value,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
IRubyObject |
WhenOneArgNode.when(IRubyObject test,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
private IRubyObject |
WhenOneArgNode.whenNoTest(ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
private IRubyObject |
WhenOneArgNode.whenSlowTest(IRubyObject test,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
| Modifier and Type | Method and Description |
|---|---|
private void |
RuntimeCache.warnAboutUninitializedIvar(Ruby runtime,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IEqlNode.eql(IRubyObject otherValue,
ThreadContext context,
Ruby runtime,
IRubyObject self,
Block aBlock) |
| Modifier and Type | Method and Description |
|---|---|
static RubyArray |
ArgsUtil.convertToRubyArray(Ruby runtime,
IRubyObject value,
boolean coerce)
This name may be a bit misleading, since this also attempts to coerce
array behavior using to_ary.
|
static RubyArray |
ArgsUtil.convertToRubyArray19(Ruby runtime,
IRubyObject value,
boolean coerce) |
static RubyArray |
ArgsUtil.convertToRubyArrayWithCoerce(Ruby runtime,
IRubyObject value) |
static RubyArray |
ArgsUtil.convertToRubyArrayWithCoerce19(Ruby runtime,
IRubyObject value) |
static IRubyObject |
ArgsUtil.getOptionsArg(Ruby runtime,
IRubyObject... args) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
Handle.runtime |
private Ruby |
Native.runtime |
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
NativeObjectAllocator.allocate(Ruby runtime,
RubyClass klass) |
static int |
JRuby.blockGiven(Ruby runtime)
rb_block_given_p
|
static long |
JRuby.callSuperMethod(Ruby runtime,
IRubyObject[] args) |
static void |
JRuby.clearErrorInfo(Ruby runtime) |
static RubyProc |
JRuby.getBlockProc(Ruby runtime)
rb_block_proc
|
(package private) static Native |
Native.getInstance(Ruby runtime) |
static long |
JRuby.gv_get(Ruby runtime,
java.lang.String name)
rb_gv_get
|
static long |
JRuby.gv_set(Ruby runtime,
java.lang.String name,
IRubyObject value)
rb_gv_set
|
private void |
Native.initNative(Ruby runtime) |
static long |
JRuby.int2big(Ruby runtime,
long l) |
static long |
JRuby.ll2inum(Ruby runtime,
long l) |
private void |
Native.load(Ruby runtime)
Loads and initializes the "jruby-cext" native library.
|
static void |
ModuleLoader.load(Ruby runtime,
java.lang.String name) |
static long |
JRuby.nativeBlockingRegion(Ruby runtime,
long blocking_func,
long blocking_data,
long unblocking_func,
long unblocking_data) |
static RubyFloat |
JRuby.newFloat(Ruby runtime,
long handle,
double value) |
(package private) static Handle |
Handle.newHandle(Ruby runtime,
java.lang.Object rubyObject,
long nativeHandle) |
static IRubyObject |
JRuby.newProc(Ruby runtime,
long fn) |
static RubyData |
RubyData.newRubyData(Ruby runtime,
RubyClass klass,
long handle) |
static long |
JRuby.newString(Ruby runtime,
byte[] bytes,
int length,
boolean tainted) |
static IRubyObject |
JRuby.newThread(Ruby runtime,
long fn,
IRubyObject args_ary) |
static void |
JRuby.sysFail(Ruby runtime,
java.lang.String message)
rb_sys_fail
|
static void |
JRuby.sysFail(Ruby runtime,
java.lang.String message,
int n) |
static void |
JRuby.threadSleep(Ruby runtime,
int interval) |
static long |
JRuby.uint2big(Ruby runtime,
long l) |
static long |
JRuby.ull2inum(Ruby runtime,
long l) |
static IRubyObject |
JRuby.yield(Ruby runtime,
RubyArray args)
rb_yield
|
| Constructor and Description |
|---|
Handle(Ruby runtime,
java.lang.Object obj,
long address) |
Native(Ruby runtime) |
RubyData(Ruby runtime,
RubyClass klass) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
NullWarnings.runtime |
private Ruby |
RubyWarnings.runtime |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
IRubyWarnings.getRuntime() |
Ruby |
NullWarnings.getRuntime() |
Ruby |
RubyWarnings.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
private static RubyStackTraceElement[] |
RubyWarnings.getRubyStackTrace(Ruby runtime) |
| Constructor and Description |
|---|
NullWarnings(Ruby runtime) |
RubyWarnings(Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
JITCompiler.JITClassGenerator.ruby |
private Ruby |
JITCompiler.runtime |
| Constructor and Description |
|---|
JITClassGenerator(java.lang.String className,
java.lang.String methodName,
java.lang.String key,
Ruby ruby,
DefaultMethod method,
JITCompiler.JITCounts counts) |
JITCompiler(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MethodMissing.init(Ruby ruby) |
| Constructor and Description |
|---|
MethodMissing(Ruby runtime,
RubyClass klazz) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
TextAreaReadline.runtime |
| Modifier and Type | Method and Description |
|---|---|
void |
TextAreaReadline.hookIntoRuntime(Ruby runtime)
Hooks this
TextAreaReadline instance into the
runtime, redefining the Readline module so that
it uses this object. |
void |
TextAreaReadline.hookIntoRuntimeWithStreams(Ruby runtime)
Hooks this
TextAreaReadline instance into the
runtime, redefining the Readline module so that
it uses this object. |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
ScriptingContainer.getRuntime()
Deprecated.
As of JRuby 1.5.0. Use getProvider().getRuntime() method instead.
|
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
JRubyEngine.FunctionsGlobalVariable.runtime |
| Modifier and Type | Method and Description |
|---|---|
private static void |
JRubyEngine.printException(Ruby runtime,
java.lang.Exception exception)
Prints out an error message.
|
| Constructor and Description |
|---|
FunctionsGlobalVariable(Ruby runtime,
org.apache.bsf.util.BSFFunctions functions) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
LocalContext.runtime |
| Modifier and Type | Method and Description |
|---|---|
(package private) Ruby |
AbstractLocalContextProvider.getGlobalRuntime(AbstractLocalContextProvider provider) |
Ruby |
BiVariableMap.getRuntime() |
Ruby |
ConcurrentLocalContextProvider.getRuntime() |
(package private) Ruby |
LocalContext.getRuntime() |
Ruby |
LocalContextProvider.getRuntime()
Returns a Ruby runtime of a specified scope.
|
Ruby |
SingleThreadLocalContextProvider.getRuntime() |
Ruby |
SingletonLocalContextProvider.getRuntime() |
Ruby |
ThreadSafeLocalContextProvider.getRuntime() |
Ruby |
LocalContext.getThreadSafeRuntime()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
IRubyObject |
EmbedRubyRuntimeAdapterImpl.eval(Ruby runtime,
java.lang.String script) |
JavaEmbedUtils.EvalUnit |
EmbedRubyRuntimeAdapterImpl.parse(Ruby runtime,
java.io.InputStream istream,
java.lang.String filename,
int lineNumber) |
JavaEmbedUtils.EvalUnit |
EmbedRubyRuntimeAdapterImpl.parse(Ruby runtime,
java.lang.String script,
java.lang.String filename,
int lineNumber) |
| Modifier and Type | Method and Description |
|---|---|
private static RubyIO |
Utils.getRubyIO(Ruby runtime,
java.io.Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
OSGiBundleLibrary.load(Ruby runtime,
boolean wrap) |
| Constructor and Description |
|---|
OSGiLoadService(Ruby runtime)
Default constructor
Optional constructor (why?)
|
OSGiLoadService19(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Ruby |
AbstractVariable.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
protected static RubyModule |
AbstractVariable.getRubyClass(Ruby runtime) |
static void |
VariableInterceptor.inject(BiVariableMap map,
Ruby runtime,
ManyVarsDynamicScope scope,
int depth,
IRubyObject receiver)
Injects variable values from Java to Ruby just before an evaluation or
method invocation.
|
static void |
GlobalVariable.retrieveByKey(Ruby runtime,
BiVariableMap vars,
java.lang.String key)
Retrieves a global variable by key from Ruby after the evaluation.
|
static void |
LocalGlobalVariable.retrieveByKey(Ruby runtime,
BiVariableMap vars,
java.lang.String name)
Retrieves a global variable by key from Ruby runtime after the evaluation.
|
void |
AbstractVariable.setJavaObject(Ruby runtime,
java.lang.Object javaObject) |
void |
BiVariable.setJavaObject(Ruby runtime,
java.lang.Object javaObject)
Sets a Java object as a value of this object.
|
void |
GlobalVariable.setJavaObject(Ruby runtime,
java.lang.Object javaObject)
Sets a Java object and its Ruby type as a value of this object.
|
static void |
VariableInterceptor.terminateGlobalVariables(LocalVariableBehavior behavior,
java.util.Collection<BiVariable> variables,
Ruby runtime)
Clears global variable values from Ruby runtime to behave the same as
JSR 223 reference implementation.
|
void |
GlobalVariable.tryEagerInjection(Ruby runtime,
IRubyObject receiver)
Deprecated.
|
protected void |
AbstractVariable.updateByJavaObject(Ruby runtime,
java.lang.Object... values) |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
AssignmentVisitor.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Node node,
IRubyObject value,
Block block,
boolean checkArity)
Deprecated.
|
private static void |
ASTInterpreter.blockPostTrace(Ruby runtime,
ThreadContext context,
java.lang.String name,
RubyModule implClass) |
private static void |
ASTInterpreter.blockPreTrace(Ruby runtime,
ThreadContext context,
java.lang.String name,
RubyModule implClass) |
static void |
ASTInterpreter.callTraceFunction(Ruby runtime,
ThreadContext context,
RubyEvent event) |
static IRubyObject |
ASTInterpreter.evalClassDefinitionBody(Ruby runtime,
ThreadContext context,
StaticScope scope,
Node bodyNode,
RubyModule type,
IRubyObject self,
Block block)
Evaluates the body in a class or module definition statement.
|
static RubyString |
ASTInterpreter.getArgumentDefinition(Ruby runtime,
ThreadContext context,
Node node,
RubyString type,
IRubyObject self,
Block block) |
static Block |
ASTInterpreter.getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block currentBlock,
Node blockNode) |
private static Block |
ASTInterpreter.getBlockPassBlock(Node blockNode,
Ruby runtime,
ThreadContext context,
IRubyObject self,
Block currentBlock) |
static RubyModule |
ASTInterpreter.getClassVariableBase(Ruby runtime,
StaticScope scope) |
static RubyModule |
ASTInterpreter.getClassVariableBase(ThreadContext context,
Ruby runtime) |
static IRubyObject |
ASTInterpreter.INTERPRET_BLOCK(Ruby runtime,
ThreadContext context,
java.lang.String file,
int line,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_CLASS(Ruby runtime,
ThreadContext context,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_EVAL(Ruby runtime,
ThreadContext context,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_EVAL(Ruby runtime,
ThreadContext context,
java.lang.String file,
int line,
Node node,
java.lang.String name,
IRubyObject self,
Block block) |
static IRubyObject |
ASTInterpreter.INTERPRET_METHOD(Ruby runtime,
ThreadContext context,
java.lang.String file,
int line,
RubyModule implClass,
Node node,
java.lang.String name,
IRubyObject self,
Block block,
boolean isTraceable) |
static IRubyObject |
ASTInterpreter.INTERPRET_ROOT(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block block) |
private static void |
ASTInterpreter.methodPostTrace(Ruby runtime,
ThreadContext context,
java.lang.String name,
RubyModule implClass) |
private static void |
ASTInterpreter.methodPreTrace(Ruby runtime,
ThreadContext context,
java.lang.String name,
RubyModule implClass) |
static IRubyObject |
AssignmentVisitor.multiAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
MultipleAsgn19Node node,
RubyArray value) |
static IRubyObject |
AssignmentVisitor.multiAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
MultipleAsgn19Node node,
RubyArray value,
boolean checkArity) |
static IRubyObject |
AssignmentVisitor.multiAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
MultipleAsgnNode node,
RubyArray value,
boolean checkArity) |
static IRubyObject |
ASTInterpreter.multipleAsgnArrayNode(Ruby runtime,
ThreadContext context,
MultipleAsgnNode iVisited,
ArrayNode node,
IRubyObject self,
Block aBlock) |
static IRubyObject[] |
ASTInterpreter.setupArgs(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block aBlock) |
| Modifier and Type | Method and Description |
|---|---|
RaiseException |
JumpException.FlowControlException.buildException(Ruby runtime) |
static RaiseException |
RaiseException.createNativeRaiseException(Ruby runtime,
java.lang.Throwable cause)
Method still in use by jruby-openssl <= 0.5.2
|
static RaiseException |
RaiseException.createNativeRaiseException(Ruby runtime,
java.lang.Throwable cause,
java.lang.reflect.Member target) |
| Constructor and Description |
|---|
RaiseException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg,
boolean nativeException) |
RaiseException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg,
IRubyObject backtrace,
boolean nativeException) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
JRubyPOSIXHandler.runtime |
| Modifier and Type | Method and Description |
|---|---|
static void |
JRubyPOSIXHelper.checkErrno(Ruby runtime,
int result)
Helper for handling common POSIX situations where a negative return value
from a function call indicates an error, and errno must be consulted to
determine how exactly the function failed.
|
void |
LateLoadingLibrary.load(Ruby runtime,
boolean wrap) |
| Constructor and Description |
|---|
JRubyPOSIXHandler(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
static RubyClass |
RubyBigDecimal.createBigDecimal(Ruby runtime) |
private static java.math.RoundingMode |
RubyBigDecimal.getRoundingMode(Ruby runtime) |
private static boolean |
RubyBigDecimal.isInfinityExceptionMode(Ruby runtime) |
private static boolean |
RubyBigDecimal.isNaNExceptionMode(Ruby runtime) |
private static boolean |
RubyBigDecimal.isOverflowExceptionMode(Ruby runtime) |
private static java.math.RoundingMode |
RubyBigDecimal.javaRoundingModeFromRubyRoundingMode(Ruby runtime,
IRubyObject arg) |
void |
BigDecimalLibrary.load(Ruby runtime,
boolean wrap) |
private RubyBigDecimal |
RubyBigDecimal.multInternal(Ruby runtime,
RubyBigDecimal val,
IRubyObject n) |
private static RubyBigDecimal |
RubyBigDecimal.newInfinity(Ruby runtime,
int sign) |
private static RubyBigDecimal |
RubyBigDecimal.newInstance(Ruby runtime,
IRubyObject recv,
RubyBigDecimal arg) |
private static RubyBigDecimal |
RubyBigDecimal.newInstance(Ruby runtime,
IRubyObject recv,
RubyBignum arg,
java.math.MathContext mathContext) |
private static RubyBigDecimal |
RubyBigDecimal.newInstance(Ruby runtime,
IRubyObject recv,
RubyFixnum arg,
java.math.MathContext mathContext) |
private static RubyBigDecimal |
RubyBigDecimal.newInstance(Ruby runtime,
IRubyObject recv,
RubyFloat arg,
java.math.MathContext mathContext) |
private static RubyBigDecimal |
RubyBigDecimal.newNaN(Ruby runtime) |
private static RubyBigDecimal |
RubyBigDecimal.newZero(Ruby runtime,
int sign) |
private static IRubyObject |
RubyBigDecimal.vpPrecLimit(Ruby runtime) |
| Constructor and Description |
|---|
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value) |
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value,
boolean isNan) |
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value,
int infinitySign) |
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value,
int infinitySign,
int zeroSign) |
RubyBigDecimal(Ruby runtime,
RubyBigDecimal rbd) |
RubyBigDecimal(Ruby runtime,
RubyClass klass) |
RubyBigDecimal(Ruby runtime,
RubyClass klass,
java.math.BigDecimal value) |
RubyBigDecimal(Ruby runtime,
RubyClass klass,
RubyBigDecimal rbd) |
| Modifier and Type | Method and Description |
|---|---|
void |
CoverageLibrary.load(Ruby runtime,
boolean wrap) |
java.util.Map<java.lang.String,int[]> |
CoverageData.resetCoverage(Ruby runtime) |
void |
CoverageData.setCoverageEnabled(Ruby runtime,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
NativeDelegateLibrary.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RubyDigest.createDigest(Ruby runtime) |
static void |
RubyDigest.createDigestMD5(Ruby runtime) |
static void |
RubyDigest.createDigestRMD160(Ruby runtime) |
static void |
RubyDigest.createDigestSHA1(Ruby runtime) |
static void |
RubyDigest.createDigestSHA2(Ruby runtime) |
void |
DigestLibrary.load(Ruby runtime,
boolean wrap) |
void |
MD5.load(Ruby runtime,
boolean wrap) |
void |
RMD160.load(Ruby runtime,
boolean wrap) |
void |
SHA1.load(Ruby runtime,
boolean wrap) |
void |
SHA2.load(Ruby runtime,
boolean wrap) |
private static RubyString |
RubyDigest.toHexString(Ruby runtime,
byte[] val) |
| Constructor and Description |
|---|
DigestBase(Ruby runtime,
RubyClass type) |
DigestClass(Ruby runtime,
RubyClass type) |
| Modifier and Type | Method and Description |
|---|---|
void |
EnumeratorLibrary.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
static RubyModule |
RubyEtc.createEtcModule(Ruby runtime) |
private static void |
RubyEtc.defineGroupStruct(Ruby runtime) |
private static void |
RubyEtc.definePasswdStruct(Ruby runtime) |
private static IRubyObject |
RubyEtc.intoStringArray(Ruby runtime,
java.lang.String[] members) |
void |
EtcLibrary.load(Ruby runtime,
boolean wrap) |
private static IRubyObject |
RubyEtc.setupGroup(Ruby runtime,
jnr.posix.Group group) |
private static IRubyObject |
RubyEtc.setupPasswd(Ruby runtime,
jnr.posix.Passwd passwd) |
| Modifier and Type | Method and Description |
|---|---|
void |
FcntlLibrary.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Field and Description |
|---|---|
protected Ruby |
ArrayMemoryIO.runtime |
protected Ruby |
InvalidMemoryIO.runtime |
private Ruby |
SwappedMemoryIO.runtime |
| Modifier and Type | Method and Description |
|---|---|
(package private) Ruby |
AutoPointer.Reaper.getRuntime() |
(package private) Ruby |
SwappedMemoryIO.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static MemoryPointer |
MemoryPointer.allocate(Ruby runtime,
int typeSize,
int count,
boolean clear) |
IRubyObject |
AutoPointer.AutoPointerAllocator.allocate(Ruby runtime,
RubyClass klazz) |
IRubyObject |
Buffer.BufferAllocator.allocate(Ruby runtime,
RubyClass klazz) |
IRubyObject |
Enum.Allocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
Enums.Allocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
MemoryPointer.MemoryPointerAllocator.allocate(Ruby runtime,
RubyClass klazz) |
IRubyObject |
Pointer.PointerAllocator.allocate(Ruby runtime,
RubyClass klazz) |
IRubyObject |
ReifyingAllocator.allocate(Ruby runtime,
RubyClass klazz) |
IRubyObject |
Struct.Allocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.FieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.NumberFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.EnumFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.StringFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.PointerFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.FunctionFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.InnerStructFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.ArrayFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
IRubyObject |
StructLayout.MappedFieldAllocator.allocate(Ruby runtime,
RubyClass klass) |
abstract MemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
MemoryIO |
NoImplFactory.allocateDirectMemory(Ruby runtime,
int size,
boolean clear) |
abstract MemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
int align,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
MemoryIO |
NoImplFactory.allocateDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
private static MemoryIO |
Buffer.allocateMemoryIO(Ruby runtime,
int size) |
abstract MemoryIO |
Factory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear)
Allocates transient native memory (not from C heap) and wraps it in a MemoryIO accessor.
|
MemoryIO |
NoImplFactory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
static void |
Util.checkBounds(Ruby runtime,
long size,
long off,
long len) |
private static void |
AutoPointer.checkPointer(Ruby runtime,
IRubyObject ptr) |
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 RubyModule |
DataConverter.createDataConverterModule(Ruby runtime,
RubyModule module) |
static RubyClass |
Enum.createEnumClass(Ruby runtime,
RubyModule ffiModule) |
static RubyClass |
Enums.createEnumsClass(Ruby runtime,
RubyModule ffiModule) |
static void |
IOModule.createIOModule(Ruby runtime,
RubyModule ffi) |
static RubyClass |
MemoryPointer.createMemoryPointerClass(Ruby runtime,
RubyModule module) |
static void |
Platform.createPlatformModule(Ruby runtime,
RubyModule ffi) |
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) |
private static void |
Type.defineBuiltinType(Ruby runtime,
RubyClass builtinClass,
NativeType nativeType,
java.lang.String... names) |
Type |
TypeResolver.findType(Ruby runtime,
IRubyObject name) |
Type |
TypeResolver.findType(Ruby runtime,
IRubyObject name,
IRubyObject typeMap) |
(package private) abstract IRubyObject |
MemoryOp.PrimitiveOp.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.BooleanOp.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Signed8.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Unsigned8.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Signed16.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Signed16Swapped.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Unsigned16.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Unsigned16Swapped.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Signed32.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Signed32Swapped.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Unsigned32.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Unsigned32Swapped.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Signed64.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Signed64Swapped.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Unsigned64.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Unsigned64Swapped.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Float32.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.Float64.get(Ruby runtime,
MemoryIO io,
long offset) |
IRubyObject |
MemoryOp.PointerOp.get(Ruby runtime,
MemoryIO io,
long offset) |
static IRubyObject |
MemoryUtil.getArrayOfFloat32(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfFloat64(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned16(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned32(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned64(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfSigned8(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned16(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned32(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned64(Ruby runtime,
MemoryIO io,
long offset,
int count) |
static IRubyObject |
MemoryUtil.getArrayOfUnsigned8(Ruby runtime,
MemoryIO io,
long offset,
int count) |
abstract Pointer |
CallbackManager.getCallback(Ruby runtime,
CallbackInfo cbInfo,
java.lang.Object proc) |
protected RubyClass |
InvalidMemoryIO.getErrorClass(Ruby runtime) |
protected RubyClass |
NullMemoryIO.getErrorClass(Ruby runtime) |
(package private) StructLayout.Field |
StructLayout.getField(Ruby runtime,
IRubyObject name)
Returns a
StructLayout.Field descriptor for a struct field. |
(package private) StructLayout.Member |
StructLayout.getMember(Ruby runtime,
IRubyObject name)
Returns a
StructLayout.Member descriptor for a struct field. |
static Pointer |
Pointer.getNull(Ruby runtime) |
protected abstract Pointer |
AbstractMemory.getPointer(Ruby runtime,
long offset) |
protected Pointer |
Buffer.getPointer(Ruby runtime,
long offset) |
protected Pointer |
Pointer.getPointer(Ruby runtime,
long offset) |
static RubyClass |
Pointer.getPointerClass(Ruby runtime) |
(package private) static StructLayout |
Struct.getStructLayout(Ruby runtime,
IRubyObject structClass) |
(package private) static int |
Struct.getStructSize(Ruby runtime,
IRubyObject structClass) |
static RubyString |
MemoryUtil.getTaintedByteString(Ruby runtime,
MemoryIO io,
long offset,
int length)
Reads a byte (binary) string from a memory object.
|
static IRubyObject |
MemoryUtil.getTaintedString(Ruby runtime,
MemoryIO io,
long offset)
Gets a NUL terminated string from a memory object
|
static IRubyObject |
MemoryUtil.getTaintedString(Ruby runtime,
MemoryIO io,
long offset,
int length)
Reads a NUL terminated string from a memory object
|
static RubyClass |
Type.getTypeClass(Ruby runtime) |
void |
Factory.init(Ruby runtime,
RubyModule ffi)
Registers FFI ruby classes/modules
|
void |
NoImplFactory.init(Ruby runtime,
RubyModule ffi) |
(package private) static boolean |
Struct.isStruct(Ruby runtime,
RubyClass klass) |
void |
FFIService.load(Ruby runtime,
boolean wrap) |
private Type |
TypeResolver.lookupAndCacheType(Ruby runtime,
RubySymbol name,
RubyHash typeMap) |
private Type |
TypeResolver.lookupType(Ruby runtime,
IRubyObject name) |
private Type |
TypeResolver.lookupType(Ruby runtime,
IRubyObject name,
IRubyObject typeMap) |
abstract AbstractInvoker |
Factory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
AbstractInvoker |
NoImplFactory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
static IRubyObject |
Util.newSigned16(Ruby runtime,
short value) |
static IRubyObject |
Util.newSigned32(Ruby runtime,
int value) |
static IRubyObject |
Util.newSigned64(Ruby runtime,
long value) |
static IRubyObject |
Util.newSigned8(Ruby runtime,
byte value) |
static RubyString |
MemoryUtil.newTaintedString(Ruby runtime,
byte[] bytes)
Creates a ruby string from a byte array and sets the taint flag on it
|
static IRubyObject |
Util.newUnsigned16(Ruby runtime,
short value) |
static IRubyObject |
Util.newUnsigned32(Ruby runtime,
int value) |
static IRubyObject |
Util.newUnsigned64(Ruby runtime,
long value) |
static IRubyObject |
Util.newUnsigned8(Ruby runtime,
byte value) |
abstract AbstractMemory |
AbstractMemory.order(Ruby runtime,
java.nio.ByteOrder order) |
AbstractMemory |
Buffer.order(Ruby runtime,
java.nio.ByteOrder order) |
AbstractMemory |
Pointer.order(Ruby runtime,
java.nio.ByteOrder order) |
static java.nio.ByteOrder |
Util.parseByteOrder(Ruby runtime,
IRubyObject byte_order) |
(package private) abstract void |
MemoryOp.PrimitiveOp.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.BooleanOp.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Signed8.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Unsigned8.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Signed16.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Signed16Swapped.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Unsigned16.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Unsigned16Swapped.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Signed32.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Signed32Swapped.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Unsigned32.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Unsigned32Swapped.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Signed64.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Signed64Swapped.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Unsigned64.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Unsigned64Swapped.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Float32.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.Float64.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
void |
MemoryOp.PointerOp.put(Ruby runtime,
MemoryIO io,
long offset,
IRubyObject value) |
static void |
MemoryUtil.putArrayOfFloat32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfFloat64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfSigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned16(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned32(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned64(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
static void |
MemoryUtil.putArrayOfUnsigned8(Ruby runtime,
MemoryIO io,
long offset,
RubyArray ary) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset) |
protected abstract AbstractMemory |
AbstractMemory.slice(Ruby runtime,
long offset,
long size) |
protected AbstractMemory |
Buffer.slice(Ruby runtime,
long offset,
long size) |
protected AbstractMemory |
Pointer.slice(Ruby runtime,
long offset,
long size) |
abstract MemoryIO |
Factory.wrapDirectMemory(Ruby runtime,
long address)
Wraps a native C memory address in a MemoryIO accessor.
|
MemoryIO |
NoImplFactory.wrapDirectMemory(Ruby runtime,
long address) |
| 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.
|
Array(Ruby runtime,
Type componentType,
int length)
Initializes a new Type.Array instance.
|
ArrayField(Ruby runtime,
RubyClass klass) |
ArrayMemoryIO(Ruby runtime,
byte[] buffer,
int offset,
int length) |
ArrayMemoryIO(Ruby runtime,
int size) |
ArrayProxy(Ruby runtime,
IRubyObject ptr,
long offset,
Type.Array type,
MemoryOp aio) |
ArrayProxy(Ruby runtime,
RubyClass klass,
IRubyObject ptr,
long offset,
Type.Array type,
MemoryOp aio) |
AutoPointer(Ruby runtime,
RubyClass klazz) |
Buffer(Ruby runtime,
int size) |
Buffer(Ruby runtime,
int size,
int flags) |
Buffer(Ruby runtime,
IRubyObject klass,
MemoryIO io,
long size,
int typeSize,
int inout) |
Buffer(Ruby runtime,
RubyClass klass) |
Builtin(Ruby runtime,
RubyClass klass,
NativeType nativeType,
java.lang.String symName)
Initializes a new BuiltinType instance.
|
CallbackInfo(Ruby runtime,
RubyClass klazz,
Type returnType,
Type[] paramTypes,
boolean stdcall)
Creates a new CallbackInfo instance.
|
CharArrayProxy(Ruby runtime,
IRubyObject ptr,
long offset,
Type.Array type,
MemoryOp aio) |
Enum(Ruby runtime,
RubyClass klass) |
EnumField(Ruby runtime,
RubyClass klass) |
Enums(Ruby runtime,
RubyClass klass) |
Field(Ruby runtime,
RubyClass klass) |
Field(Ruby runtime,
RubyClass klass,
StructLayout.FieldIO io) |
Field(Ruby runtime,
RubyClass klass,
Type type,
int offset,
StructLayout.FieldIO io) |
FreedMemoryIO(Ruby runtime) |
FunctionField(Ruby runtime,
RubyClass klass) |
InnerStructField(Ruby runtime,
RubyClass klass) |
InvalidMemoryIO(Ruby runtime,
boolean isDirect,
long address,
java.lang.String message) |
MappedField(Ruby runtime,
RubyClass klass) |
MappedType(Ruby runtime,
RubyClass klass,
Type nativeType,
IRubyObject converter,
boolean isRefererenceRequired) |
MemoryObject(Ruby runtime,
RubyClass metaClass) |
MemoryPointer(Ruby runtime,
IRubyObject klass,
MemoryIO io,
long total,
int typeSize) |
MemoryPointer(Ruby runtime,
RubyClass klass) |
NullMemoryIO(Ruby runtime) |
NumberField(Ruby runtime,
RubyClass klass) |
Pointer(Ruby runtime,
MemoryIO io) |
Pointer(Ruby runtime,
MemoryIO io,
long size,
int typeSize) |
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) |
StringField(Ruby runtime,
RubyClass klass) |
Struct(Ruby runtime)
Creates a new StructLayout instance using defaults.
|
Struct(Ruby runtime,
RubyClass klass)
Creates a new StructLayout instance.
|
Struct(Ruby runtime,
RubyClass klass,
StructLayout layout,
IRubyObject memory)
Creates a new StructLayout instance.
|
StructByReference(Ruby runtime,
RubyClass klass,
RubyClass structClass,
StructLayout layout) |
StructByValue(Ruby runtime,
RubyClass klass,
RubyClass structClass,
StructLayout structLayout) |
StructByValue(Ruby runtime,
RubyClass structClass,
StructLayout structLayout) |
StructLayout(Ruby runtime,
RubyClass klass,
java.util.Collection<IRubyObject> fields,
int size,
int alignment)
Creates a new StructLayout instance.
|
SwappedMemoryIO(Ruby runtime,
MemoryIO io) |
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 |
|---|---|
IRubyObject |
FileDescriptorIO.Allocator.allocate(Ruby runtime,
RubyClass klass) |
static RubyClass |
FileDescriptorIO.createFileDescriptorIOClass(Ruby runtime,
RubyModule module) |
private static jnr.posix.LibC |
FileDescriptorByteChannel.libc(Ruby runtime) |
| Constructor and Description |
|---|
FileDescriptorByteChannel(Ruby runtime,
int fd)
Creates a new FileDescriptorByteChannel.
|
FileDescriptorIO(Ruby runtime,
IRubyObject fd) |
FileDescriptorIO(Ruby runtime,
RubyClass klass) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
BoundedNativeMemoryIO.runtime |
private Ruby |
NativeCallbackFactory.runtime |
protected Ruby |
NativeClosureProxy.runtime |
private Ruby |
NativeMemoryIO.runtime |
| Modifier and Type | Method and Description |
|---|---|
(package private) Ruby |
BoundedNativeMemoryIO.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static AllocatedNativeMemoryIO |
AllocatedNativeMemoryIO.allocate(Ruby runtime,
int size,
boolean clear)
Allocates native memory
|
(package private) CachingNativeMemoryAllocator.AllocatedMemoryIO |
CachingNativeMemoryAllocator.Allocator.allocate(Ruby runtime,
int size,
boolean clear) |
(package private) static AllocatedNativeMemoryIO |
AllocatedNativeMemoryIO.allocateAligned(Ruby runtime,
int size,
int align,
boolean clear)
Allocates native memory, aligned to a minimum boundary.
|
(package private) static MemoryIO |
CachingNativeMemoryAllocator.allocateAligned(Ruby runtime,
int size,
int align,
boolean clear)
Allocates native memory, aligned to a minimum boundary.
|
(package private) static MemoryIO |
TransientNativeMemoryIO.allocateAligned(Ruby runtime,
int size,
int align,
boolean clear)
Allocates native memory, aligned to a minimum boundary.
|
MemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
MemoryIO |
Factory.allocateDirectMemory(Ruby runtime,
int size,
int align,
boolean clear)
Allocates memory on the native C heap and wraps it in a MemoryIO accessor.
|
MemoryIO |
Factory.allocateTransientDirectMemory(Ruby runtime,
int size,
int align,
boolean clear) |
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 DynamicMethod |
MethodFactory.createDynamicMethod(Ruby runtime,
RubyModule module,
com.kenai.jffi.Function function,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean ignoreErrno) |
static RubyClass |
Function.createFunctionClass(Ruby runtime,
RubyModule module) |
static RubyClass |
JFFIInvoker.createInvokerClass(Ruby runtime,
RubyModule module) |
static RubyClass |
VariadicInvoker.createVariadicInvokerClass(Ruby runtime,
RubyModule module) |
private static IRubyObject |
NativeClosureProxy.fromNative(Ruby runtime,
Type type,
com.kenai.jffi.Closure.Buffer buffer,
int index)
Converts a native value into a ruby object.
|
Pointer |
CallbackManager.getCallback(Ruby runtime,
CallbackInfo cbInfo,
java.lang.Object proc) |
NativeCallbackFactory |
CallbackManager.getCallbackFactory(Ruby runtime,
CallbackInfo cbInfo) |
private static java.lang.invoke.MethodHandle |
InvokeDynamic.getResultFilter(Ruby runtime,
NativeType nativeType,
java.lang.Class nativeIntClass) |
(package private) static IRubyObject |
FFIUtil.getString(Ruby runtime,
long address)
Reads a nul-terminated string from native memory and boxes it up in a ruby
string.
|
private static IRubyObject |
NativeClosureProxy.getStringParameter(Ruby runtime,
com.kenai.jffi.Closure.Buffer buffer,
int index)
Converts a native string value into a ruby string object.
|
void |
Factory.init(Ruby runtime,
RubyModule ffi) |
static IRubyObject |
JITRuntime.newBoolean(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newBoolean(Ruby runtime,
long value) |
(package private) CallbackMemoryIO |
CallbackManager.newClosure(Ruby runtime,
Type returnType,
Type[] parameterTypes,
java.lang.Object proc,
com.kenai.jffi.CallingConvention convention) |
static IRubyObject |
JITRuntime.newFloat32(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newFloat32(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newFloat64(Ruby runtime,
long value) |
Function |
Factory.newFunction(Ruby runtime,
Pointer address,
CallbackInfo cbInfo) |
private NativeFunctionInfo |
NativeCallbackFactory.newFunctionInfo(Ruby runtime,
CallbackInfo cbInfo) |
static IRubyObject |
JITRuntime.newNil(Ruby runtime,
int ignored) |
static IRubyObject |
JITRuntime.newNil(Ruby runtime,
long ignored) |
static IRubyObject |
JITRuntime.newPointer32(Ruby runtime,
int address) |
static IRubyObject |
JITRuntime.newPointer32(Ruby runtime,
long address) |
static IRubyObject |
JITRuntime.newPointer64(Ruby runtime,
long address) |
static IRubyObject |
JITRuntime.newSigned16(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newSigned16(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newSigned32(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newSigned32(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newSigned64(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newSigned8(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newSigned8(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newString(Ruby runtime,
int address) |
static IRubyObject |
JITRuntime.newString(Ruby runtime,
long address) |
static IRubyObject |
JITRuntime.newUnsigned16(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newUnsigned16(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newUnsigned32(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newUnsigned32(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newUnsigned64(Ruby runtime,
long value) |
static IRubyObject |
JITRuntime.newUnsigned8(Ruby runtime,
int value) |
static IRubyObject |
JITRuntime.newUnsigned8(Ruby runtime,
long value) |
private static void |
NativeClosureProxy.setReturnValue(Ruby runtime,
Type type,
com.kenai.jffi.Closure.Buffer buffer,
IRubyObject value)
Converts a ruby return value into a native callback return value.
|
(package private) static MemoryIO |
NativeMemoryIO.wrap(Ruby runtime,
long address) |
MemoryIO |
Factory.wrapDirectMemory(Ruby runtime,
long address) |
| Constructor and Description |
|---|
AllocatedMemoryIO(Ruby runtime,
java.lang.Object sentinel,
CachingNativeMemoryAllocator.MemoryAllocation allocation,
int size) |
AllocatedNativeMemoryIO(Ruby runtime,
java.lang.Object sentinel,
long address,
int size,
int align) |
BoundedNativeMemoryIO(Ruby runtime,
long address,
int size) |
BoundedNativeMemoryIO(Ruby runtime,
MemoryIO parent,
long offset,
long size) |
CallbackMemoryIO(Ruby runtime,
com.kenai.jffi.Closure.Handle handle) |
CallbackMemoryIO(Ruby runtime,
com.kenai.jffi.Closure.Handle handle,
java.lang.Object proc) |
CodeMemoryIO(Ruby runtime,
long address) |
CodeMemoryIO(Ruby runtime,
Pointer pointer) |
DataSymbolMemoryIO(Ruby runtime,
DynamicLibrary library,
long address) |
DynamicLibrary(Ruby runtime,
RubyClass klass,
java.lang.String name,
com.kenai.jffi.Library library) |
Function(Ruby runtime,
RubyClass klass,
MemoryIO address,
NativeFunctionInfo functionInfo,
IRubyObject enums) |
Function(Ruby runtime,
RubyClass klass,
MemoryIO address,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean saveError) |
JFFIInvoker(Ruby runtime,
long address,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention) |
JFFIInvoker(Ruby runtime,
RubyClass klass,
MemoryIO fptr,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums) |
NativeCallbackFactory(Ruby runtime,
CallbackInfo cbInfo) |
NativeCallbackPointer(Ruby runtime,
RubyClass klass,
com.kenai.jffi.Closure.Handle handle,
CallbackInfo cbInfo,
NativeFunctionInfo closureInfo) |
NativeClosureProxy(Ruby runtime,
NativeFunctionInfo closureInfo,
java.lang.Object proc) |
NativeClosureProxy(Ruby runtime,
NativeFunctionInfo closureInfo,
java.lang.Object proc,
CallSite callSite) |
NativeFunctionInfo(Ruby runtime,
Type returnType,
Type[] parameterTypes,
com.kenai.jffi.CallingConvention convention) |
NativeMemoryIO(Ruby runtime,
long address) |
Symbol(Ruby runtime,
DynamicLibrary library,
java.lang.String name,
MemoryIO io) |
TextSymbolMemoryIO(Ruby runtime,
DynamicLibrary library,
long address) |
TransientNativeMemoryIO(Ruby runtime,
java.lang.Object sentinel,
long address,
int size) |
VariadicInvoker(Ruby runtime,
IRubyObject klazz,
Pointer address,
FunctionInvoker functionInvoker,
com.kenai.jffi.Type returnType,
com.kenai.jffi.CallingConvention convention,
IRubyObject enums,
boolean saveError) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static RubyThread |
ThreadFiber.createThread(Ruby runtime,
ThreadFiber.FiberData data,
SizedQueue queue,
Block block) |
void |
ThreadFiberLibrary.load(Ruby runtime,
boolean wrap) |
| Constructor and Description |
|---|
ThreadFiber(Ruby runtime,
RubyClass klass) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RubyIconv.createIconv(Ruby runtime) |
void |
IConvLibrary.load(Ruby runtime,
boolean wrap) |
static RubyIconv.RubyFailure |
RubyIconv.RubyFailure.newInstance(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg) |
| Constructor and Description |
|---|
RubyFailure(Ruby runtime,
RubyClass rubyClass) |
RubyFailure(Ruby runtime,
RubyClass rubyClass,
java.lang.String message) |
RubyIconv(Ruby runtime,
RubyClass type) |
| Modifier and Type | Method and Description |
|---|---|
void |
IOTryNonblockLibrary.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
void |
IOWaitLibrary.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Field and Description |
|---|---|
protected Ruby |
JRubyObjectInputStream.JRubyObjectInputStreamImpl.runtime |
| Modifier and Type | Method and Description |
|---|---|
static RubyClass |
JRubyObjectInputStream.createJRubyObjectInputStream(Ruby runtime) |
private static IRubyObject |
JRubyLibrary.getNameFrom(Ruby runtime,
INameNode node) |
void |
JRubyConfigLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubyLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubySerializationLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubyTypeLibrary.load(Ruby runtime,
boolean wrap) |
void |
JRubyUtilLibrary.load(Ruby runtime,
boolean wrap) |
static java.lang.String[] |
JRubyLibrary.MethodExtensions.methodParameters(Ruby runtime,
DynamicMethod method) |
| Constructor and Description |
|---|
JRubyExecutionContextLocal(Ruby runtime,
RubyClass type) |
JRubyFiberLocal(Ruby runtime,
RubyClass type) |
JRubyObjectInputStream(Ruby runtime,
RubyClass rubyClass) |
JRubyObjectInputStreamImpl(Ruby rt,
java.io.InputStream in) |
JRubyThreadLocal(Ruby runtime,
RubyClass type) |
| Modifier and Type | Method and Description |
|---|---|
void |
Complex.load(Ruby runtime,
boolean wrap) |
void |
Rational.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
static void |
NetProtocolBufferedIO.create(Ruby runtime) |
void |
NetProtocolBufferedIOLibrary.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
static void |
RubyNKF.createNKF(Ruby runtime) |
private static RubyString |
RubyNKF.Converter.encodeMimeString(Ruby runtime,
RubyString str,
org.jruby.util.ByteList format) |
void |
NKFLibrary.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void |
RubyPathname.createPathnameClass(Ruby runtime) |
void |
PathnameLibrary.load(Ruby runtime,
boolean wrap) |
private static java.lang.String |
RubyPathname.toPathMethod(Ruby runtime) |
| Constructor and Description |
|---|
RubyPathname(Ruby runtime,
RubyClass metaClass) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PsychEmitter.initPsychEmitter(Ruby runtime,
RubyModule psych) |
static void |
PsychParser.initPsychParser(Ruby runtime,
RubyModule psych) |
static void |
PsychToRuby.initPsychToRuby(Ruby runtime,
RubyModule psych) |
static void |
PsychYamlTree.initPsychYamlTree(Ruby runtime,
RubyModule psych) |
void |
PsychLibrary.load(Ruby runtime,
boolean wrap) |
private RubyString |
PsychParser.stringFor(Ruby runtime,
java.lang.String value,
boolean tainted) |
private IRubyObject |
PsychParser.stringOrNilFor(Ruby runtime,
java.lang.String value,
boolean tainted) |
| Constructor and Description |
|---|
PsychEmitter(Ruby runtime,
RubyClass klass) |
PsychParser(Ruby runtime,
RubyClass klass) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
RbConfigLibrary.getArchDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getNormalizedHome(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRubygemsDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRubyLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRubyLibDirFor(Ruby runtime,
java.lang.String runtimeVerStr) |
static java.lang.String |
RbConfigLibrary.getRubySharedLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getRuntimeVerStr(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteArchDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteDirGeneral(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSiteLibDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getSysConfDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorArchDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorDir(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorDirGeneral(Ruby runtime) |
static java.lang.String |
RbConfigLibrary.getVendorLibDir(Ruby runtime) |
static java.lang.Boolean |
RbConfigLibrary.isSiteVendorSame(Ruby runtime) |
void |
RbConfigLibrary.load(Ruby runtime,
boolean wrap)
Just enough configuration settings (most don't make sense in Java) to run the rubytests
unit tests.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Readline.createReadline(Ruby runtime) |
static Readline.ConsoleHolder |
Readline.getHolder(Ruby runtime) |
static Readline.ConsoleHolder |
Readline.getHolderWithReadline(Ruby runtime) |
protected static void |
Readline.initReadline(Ruby runtime,
Readline.ConsoleHolder holder) |
void |
ReadlineService.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
RipperLexer.getRuntime() |
Ruby |
RipperParser.getRuntime() |
Ruby |
Warnings.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
private static IRubyObject |
RubyRipper.createParserEventTable(Ruby runtime,
RubyClass ripper) |
private static IRubyObject |
RubyRipper.createScannerEventTable(Ruby runtime,
RubyClass ripper) |
static void |
RubyRipper.initRipper(Ruby runtime) |
void |
RipperLibrary.load(Ruby runtime,
boolean wrap) |
| Constructor and Description |
|---|
RubyRipper(Ruby runtime,
RubyClass klazz) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Addrinfo.createAddrinfo(Ruby runtime) |
(package private) static void |
RubyBasicSocket.createBasicSocket(Ruby runtime) |
(package private) static void |
RubyIPSocket.createIPSocket(Ruby runtime) |
static void |
Option.createOption(Ruby runtime) |
(package private) static void |
RubyServerSocket.createServerSocket(Ruby runtime) |
(package private) static void |
RubySocket.createSocket(Ruby runtime) |
(package private) static void |
RubyTCPServer.createTCPServer(Ruby runtime) |
(package private) static void |
RubyTCPSocket.createTCPSocket(Ruby runtime) |
(package private) static void |
RubyUDPSocket.createUDPSocket(Ruby runtime) |
(package private) static void |
RubyUNIXServer.createUNIXServer(Ruby runtime) |
(package private) static void |
RubyUNIXSocket.createUNIXSocket(Ruby runtime) |
private IRubyObject |
RubyUDPSocket.doReceive(Ruby runtime,
int length) |
private IRubyObject |
RubyUDPSocket.doReceive(Ruby runtime,
int length,
RubyUDPSocket.ReceiveTuple tuple) |
private IRubyObject |
RubyUDPSocket.doReceiveMulticast(Ruby runtime,
int length,
RubyUDPSocket.ReceiveTuple tuple) |
private RubyUDPSocket.ReceiveTuple |
RubyUDPSocket.doReceiveNonblockTuple(Ruby runtime,
int length) |
private RubyUDPSocket.ReceiveTuple |
RubyUDPSocket.doReceiveTuple(Ruby runtime,
int length) |
protected void |
RubySocket.handleSocketException(Ruby runtime,
java.lang.String caller,
java.net.SocketException e) |
protected void |
RubyUNIXSocket.init_sock(Ruby runtime) |
protected void |
RubyUNIXSocket.init_unixsock(Ruby runtime,
IRubyObject _path,
boolean server) |
protected ChannelDescriptor |
RubyServerSocket.initChannel(Ruby runtime) |
protected ChannelDescriptor |
RubySocket.initChannel(Ruby runtime) |
private void |
RubySocket.initDomain(Ruby runtime,
IRubyObject domain) |
private void |
RubySocket.initFieldsFromArgs(Ruby runtime,
IRubyObject domain,
IRubyObject type) |
private void |
RubySocket.initFieldsFromArgs(Ruby runtime,
IRubyObject domain,
IRubyObject type,
IRubyObject protocol) |
private void |
RubySocket.initFieldsFromDescriptor(Ruby runtime,
ChannelDescriptor descriptor) |
protected void |
RubySocket.initFromServer(Ruby runtime,
RubyServerSocket serverSocket,
java.nio.channels.SocketChannel socketChannel) |
private void |
Addrinfo.initializeCommon(Ruby runtime,
IRubyObject sockaddr,
IRubyObject family,
IRubyObject sock,
IRubyObject port) |
private void |
RubySocket.initProtocol(Ruby runtime,
IRubyObject protocol) |
protected void |
RubyBasicSocket.initSocket(Ruby runtime,
ChannelDescriptor descriptor) |
private void |
RubySocket.initType(Ruby runtime,
IRubyObject type) |
void |
SocketLibrary.load(Ruby runtime,
boolean wrap) |
protected static ChannelDescriptor |
RubySocket.newChannelDescriptor(Ruby runtime,
java.nio.channels.Channel channel) |
private static IRubyObject |
RubyBasicSocket.number(Ruby runtime,
int s) |
protected static void |
RubyUNIXSocket.rb_sys_fail(Ruby runtime,
java.lang.String message) |
static java.lang.RuntimeException |
RubySocket.sockerr(Ruby runtime,
java.lang.String msg)
Deprecated.
|
static java.lang.RuntimeException |
SocketUtils.sockerr(Ruby runtime,
java.lang.String msg) |
| Constructor and Description |
|---|
Addrinfo(Ruby runtime,
RubyClass cls) |
Addrinfo(Ruby runtime,
RubyClass cls,
java.net.InetAddress inetAddress) |
Addrinfo(Ruby runtime,
RubyClass cls,
java.net.InetAddress inetAddress,
int port) |
Addrinfo(Ruby runtime,
RubyClass cls,
java.net.InetAddress inetAddress,
int port,
SocketType socketType) |
Option(Ruby runtime,
jnr.constants.platform.ProtocolFamily family,
jnr.constants.platform.SocketLevel level,
jnr.constants.platform.SocketOption option,
int data) |
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 |
RubyStringIO.createStringIOClass(Ruby runtime) |
static RubyClass |
StringIO.createStringIOClass(Ruby runtime) |
void |
StringIOLibrary.load(Ruby runtime,
boolean wrap) |
private RubyString |
RubyStringIO.makeString(Ruby runtime,
org.jruby.util.ByteList buf) |
private RubyString |
StringIO.makeString(Ruby runtime,
org.jruby.util.ByteList buf) |
private RubyString |
RubyStringIO.makeString(Ruby runtime,
org.jruby.util.ByteList buf,
boolean setEncoding) |
private RubyString |
StringIO.makeString(Ruby runtime,
org.jruby.util.ByteList buf,
boolean setEncoding) |
private RubyString |
RubyStringIO.strioSubstr(Ruby runtime,
int pos,
int len) |
private RubyString |
StringIO.strioSubstr(Ruby runtime,
int pos,
int len) |
| Constructor and Description |
|---|
RubyStringIO(Ruby runtime,
RubyClass klass) |
StringIO(Ruby runtime,
RubyClass klass) |
| Modifier and Type | Method and Description |
|---|---|
static RubyClass |
RubyStringScanner.createScannerClass(Ruby runtime) |
private IRubyObject |
RubyStringScanner.extractBegLen(Ruby runtime,
int beg,
int len) |
private IRubyObject |
RubyStringScanner.extractRange(Ruby runtime,
int beg,
int end) |
void |
StringScannerLibrary.load(Ruby runtime,
boolean wrap) |
| Constructor and Description |
|---|
RubyStringScanner(Ruby runtime,
RubyClass type) |
| Modifier and Type | Method and Description |
|---|---|
static RubyClass |
Tempfile.createTempfileClass(Ruby runtime) |
void |
TempfileLibrary.load(Ruby runtime,
boolean wrap) |
| Constructor and Description |
|---|
Tempfile(Ruby runtime,
RubyClass type) |
| Modifier and Type | Method and Description |
|---|---|
void |
ThreadLibrary.load(Ruby runtime,
boolean wrap) |
static void |
ConditionVariable.setup(Ruby runtime) |
static void |
Mutex.setup(Ruby runtime) |
static void |
Queue.setup(Ruby runtime) |
static void |
SizedQueue.setup(Ruby runtime) |
| Constructor and Description |
|---|
ConditionVariable(Ruby runtime,
RubyClass type) |
Mutex(Ruby runtime,
RubyClass type) |
Queue(Ruby runtime,
RubyClass type) |
SizedQueue(Ruby runtime,
RubyClass type) |
| Modifier and Type | Method and Description |
|---|---|
void |
Timeout.load(Ruby runtime,
boolean wrap) |
| Modifier and Type | Method and Description |
|---|---|
static void |
TracePoint.createTracePointClass(Ruby runtime) |
| Constructor and Description |
|---|
TracePoint(Ruby runtime,
RubyClass klass) |
| Modifier and Type | Method and Description |
|---|---|
void |
WeakRefLibrary.load(Ruby runtime,
boolean wrap) |
| Constructor and Description |
|---|
WeakRef(Ruby runtime,
RubyClass klazz) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
JZlibRubyGzipWriter.checkLevel(Ruby runtime,
int level) |
(package private) static void |
ZStream.checkLevel(Ruby runtime,
int level) |
(package private) static void |
ZStream.checkStrategy(Ruby runtime,
int strategy) |
(package private) static void |
ZStream.checkWindowBits(Ruby runtime,
int wbits,
boolean forInflate)
We only do windowBits=15(32K buffer, LZ77 algorithm) since java.util.zip
only allows it.
|
static RubyModule |
RubyZlib.createZlibModule(Ruby runtime)
Create the Zlib module and add it to the Ruby runtime.
|
private RubyString |
JZlibInflate.flushOutput(Ruby runtime) |
void |
ZlibLibrary.load(Ruby runtime,
boolean wrap) |
(package private) static RaiseException |
RubyZlib.newBufError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newCRCError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newDataError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newDictError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newGzipFileError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newGzipFileError(Ruby runtime,
java.lang.String klass,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newLengthError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newNoFooter(Ruby runtime,
java.lang.String message) |
protected RubyString |
RubyGzipFile.newStr(Ruby runtime,
org.jruby.util.ByteList value) |
(package private) static RaiseException |
RubyZlib.newStreamError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newZlibError(Ruby runtime,
java.lang.String message) |
(package private) static RaiseException |
RubyZlib.newZlibError(Ruby runtime,
java.lang.String klass,
java.lang.String message) |
private int |
JZlibRubyGzipWriter.processLevel(int argc,
IRubyObject[] args,
Ruby runtime) |
| 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 | Field and Description |
|---|---|
private Ruby |
GlobalVariables.runtime |
private Ruby |
RubyRunnable.runtime |
private Ruby |
ThreadService.runtime |
private Ruby |
UndefinedAccessor.runtime |
| Modifier and Type | Method and Description |
|---|---|
static GlobalVariable |
GlobalVariable.newUndefined(Ruby runtime,
java.lang.String name) |
| Constructor and Description |
|---|
GlobalVariables(Ruby runtime) |
ThreadService(Ruby runtime) |
UndefinedAccessor(Ruby runtime,
GlobalVariable globalVariable,
java.lang.String name)
Constructor for UndefinedAccessor.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.invoke.MethodHandle[] |
InvokeDynamicMethodFactory.buildAnnotatedMethodHandles(Ruby runtime,
java.util.List<JavaMethodDescriptor> descs,
RubyModule implementationClass) |
protected IRubyObject |
DynamicMethod.handleBreak(ThreadContext context,
Ruby runtime,
JumpException.BreakJump bj,
int callNumber) |
protected IRubyObject |
DynamicMethod.handleRedo(Ruby runtime) |
static DynamicMethod |
DynamicMethodFactory.newDefaultMethod(Ruby runtime,
RubyModule container,
java.lang.String name,
StaticScope scope,
Node body,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static InterpretedMethod |
DynamicMethodFactory.newInterpretedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Node body,
java.lang.String name,
ArgsNode argsNode,
Visibility visibility,
ISourcePosition position) |
static DynamicMethod |
DynamicMethodFactory.newJittedMethod(Ruby runtime,
RubyModule container,
StaticScope scope,
Script script,
java.lang.String name,
CallConfiguration config,
Visibility visibility,
Arity arity,
ISourcePosition position,
DefaultMethod defaultMethod) |
protected void |
InterpretedMethod.post(Ruby runtime,
ThreadContext context,
java.lang.String name) |
protected void |
JittedMethod.post(Ruby runtime,
ThreadContext context,
java.lang.String name) |
protected void |
TraceableJittedMethod.post(Ruby runtime,
ThreadContext context,
java.lang.String name) |
protected void |
InterpretedMethod.pre(ThreadContext context,
java.lang.String name,
IRubyObject self,
Block block,
Ruby runtime) |
private void |
TraceableJittedMethod.traceCall(ThreadContext context,
Ruby runtime,
java.lang.String name) |
private void |
TraceableJittedMethod.traceReturn(ThreadContext context,
Ruby runtime,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static IRBuilder |
IRBuilder.createIRBuilder(Ruby runtime,
IRManager manager) |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.Object |
InheritanceSearchConstInstr.cache(Ruby runtime,
RubyModule module) |
private java.lang.Object |
LexicalSearchConstInstr.cache(ThreadContext context,
DynamicScope currDynScope,
IRubyObject self,
java.lang.Object[] temp,
Ruby runtime,
java.lang.Object constant) |
void |
CheckArityInstr.checkArity(Ruby runtime,
int numArgs) |
private Invalidator |
InheritanceSearchConstInstr.invalidator(Ruby runtime) |
private Invalidator |
LexicalSearchConstInstr.invalidator(Ruby runtime) |
private Invalidator |
SearchConstInstr.invalidator(Ruby runtime) |
private boolean |
LexicalSearchConstInstr.isCached(Ruby runtime,
java.lang.Object value) |
private boolean |
InheritanceSearchConstInstr.isCached(Ruby runtime,
RubyModule target,
java.lang.Object value) |
IRubyObject |
ReceiveRestArgInstr.receiveRestArg(Ruby runtime,
IRubyObject[] parameters,
int kwArgLoss) |
| Modifier and Type | Method and Description |
|---|---|
private static IRScope |
Interpreter.getEvalContainerScope(Ruby runtime,
StaticScope evalScope) |
static IRubyObject |
Interpreter.interpret(Ruby runtime,
Node rootNode,
IRubyObject self) |
static IRubyObject |
Interpreter.interpretBindingEval(Ruby runtime,
java.lang.String file,
int lineNumber,
java.lang.String backtraceName,
Node node,
IRubyObject self,
Block block) |
static IRubyObject |
Interpreter.interpretCommonEval(Ruby runtime,
java.lang.String file,
int lineNumber,
java.lang.String backtraceName,
RootNode rootNode,
IRubyObject self,
Block block) |
static IRubyObject |
Interpreter.interpretSimpleEval(Ruby runtime,
java.lang.String file,
int lineNumber,
java.lang.String backtraceName,
Node node,
IRubyObject self) |
private static void |
Interpreter.methodPostTrace(Ruby runtime,
ThreadContext context,
java.lang.String name,
RubyModule implClass) |
private static void |
Interpreter.methodPreTrace(Ruby runtime,
ThreadContext context,
java.lang.String name,
RubyModule implClass) |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
UndefinedValue.getRuntime()
RubyMethod getRuntime.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.RuntimeException |
IRException.getException(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class |
JVMVisitor.compile(Ruby ruby,
IRScope scope,
JRubyClassLoader jrubyClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
private static RubyArray |
ArrayJavaAddons.calcDimensions(Ruby runtime,
RubyArray array,
RubyArray dims,
int index) |
private static JavaClass |
KernelJavaAddons.getTargetType(ThreadContext context,
Ruby runtime,
IRubyObject type) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Class |
RealClassGenerator.createOldStyleImplClass(java.lang.Class[] superTypes,
RubyClass rubyClass,
Ruby ruby,
java.lang.String name,
ClassDefiningClassLoader classLoader) |
static java.lang.Class |
RealClassGenerator.createRealImplClass(java.lang.Class superClass,
java.lang.Class[] interfaces,
RubyClass rubyClass,
Ruby ruby,
java.lang.String name) |
static java.lang.Class |
RealClassGenerator.defineOldStyleImplClass(Ruby ruby,
java.lang.String name,
java.lang.String[] superTypeNames,
java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>> simpleToAll,
ClassDefiningClassLoader classLoader)
This variation on defineImplClass uses all the classic type coercion logic
for passing args and returning results.
|
static java.lang.Class |
RealClassGenerator.defineRealImplClass(Ruby ruby,
java.lang.String name,
java.lang.Class superClass,
java.lang.String[] superTypeNames,
java.util.Map<java.lang.String,java.util.List<java.lang.reflect.Method>> simpleToAll)
This variation on defineImplClass uses all the classic type coercion logic
for passing args and returning results.
|
| Modifier and Type | Method and Description |
|---|---|
private static <T extends ParameterTypes> |
CallableSelector.findMatchingCallableForArgs(Ruby runtime,
T[] methods,
IRubyObject... args) |
private static <T extends ParameterTypes> |
CallableSelector.findMatchingCallableForArgsFallback(Ruby runtime,
T[] methods,
IRubyObject... args) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityFour(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static JavaCallable |
CallableSelector.matchingCallableArityFour(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityN(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject[] args) |
static JavaCallable |
CallableSelector.matchingCallableArityN(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject[] args) |
static ParameterTypes |
CallableSelector.matchingCallableArityN(Ruby runtime,
java.util.Map cache,
ParameterTypes[] methods,
IRubyObject[] args) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityOne(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0) |
static JavaCallable |
CallableSelector.matchingCallableArityOne(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityThree(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
static JavaCallable |
CallableSelector.matchingCallableArityThree(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityTwo(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1) |
static JavaCallable |
CallableSelector.matchingCallableArityTwo(Ruby runtime,
java.util.Map cache,
JavaCallable[] methods,
IRubyObject arg0,
IRubyObject arg1) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
RubyToJavaInvoker.runtime |
| Modifier and Type | Method and Description |
|---|---|
protected JavaCallable |
ConstructorInvoker.createCallable(Ruby ruby,
java.lang.reflect.Member member) |
protected JavaCallable |
MethodInvoker.createCallable(Ruby runtime,
java.lang.reflect.Member member) |
protected abstract JavaCallable |
RubyToJavaInvoker.createCallable(Ruby runtime,
java.lang.reflect.Member member) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
JavaInterfaceTemplate.checkAlreadyReified(RubyClass clazz,
Ruby runtime) |
private static void |
JavaProxy.checkArgSizeMismatch(Ruby runtime,
int expected,
RubyArray argTypes) |
static RubyClass |
MapJavaProxy.createMapJavaProxy(Ruby runtime) |
(package private) static ArrayJavaProxy |
ArrayJavaProxy.newArray(Ruby runtime,
java.lang.Class<?> elementType,
int... dimensions) |
void |
MapJavaProxy.RubyHashMap.op_asetForString(Ruby runtime,
RubyString key,
IRubyObject value) |
| Constructor and Description |
|---|
ArrayJavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object array) |
ArrayJavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object array,
JavaUtil.JavaConverter converter) |
ArrayJavaProxyCreator(Ruby runtime)
Deprecated.
|
ConcreteJavaProxy(Ruby runtime,
RubyClass klazz) |
ConcreteJavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object object) |
InterfaceJavaProxy(Ruby runtime,
RubyClass klazz) |
JavaProxy(Ruby runtime,
RubyClass klazz) |
JavaProxy(Ruby runtime,
RubyClass klazz,
java.lang.Object object) |
MapJavaProxy(Ruby runtime,
RubyClass klazz) |
MapJavaProxy(Ruby runtime,
RubyClass klazz,
java.util.Map map) |
RubyHashMap(Ruby runtime,
MapJavaProxy receiver) |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
ArrayUtils.arefDirect(Ruby runtime,
java.lang.Object array,
JavaUtil.JavaConverter javaConverter,
int intIndex) |
static IRubyObject |
ArrayUtils.asetDirect(Ruby runtime,
java.lang.Object array,
JavaUtil.JavaConverter javaConverter,
int intIndex,
IRubyObject value) |
static ArrayJavaProxy |
ArrayUtils.newProxiedArray(Ruby runtime,
java.lang.Class<?> componentType,
int size) |
static ArrayJavaProxy |
ArrayUtils.newProxiedArray(Ruby runtime,
java.lang.Class<?> componentType,
JavaUtil.JavaConverter converter,
int size) |
static void |
ArrayUtils.setWithExceptionHandlingDirect(Ruby runtime,
java.lang.Object ary,
int intIndex,
java.lang.Object javaObject) |
| Constructor and Description |
|---|
BlankSlateWrapper(Ruby runtime,
RubyClass superClass,
RubyModule delegate) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
JavaEmbedUtils.InterpretedEvalUnit.runtime |
private Ruby |
JavaSupport.runtime |
| Modifier and Type | Method and Description |
|---|---|
static Ruby |
JavaEmbedUtils.initialize(java.util.List<java.lang.String> loadPaths)
Get an instance of a JRuby runtime.
|
static Ruby |
JavaEmbedUtils.initialize(java.util.List<java.lang.String> loadPaths,
ClassCache classCache)
Get an instance of a JRuby runtime.
|
static Ruby |
JavaEmbedUtils.initialize(java.util.List<java.lang.String> loadPaths,
RubyInstanceConfig config)
Get an instance of a JRuby runtime.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JavaEmbedUtils.addGemPath(Ruby runtime,
java.lang.ClassLoader cl) |
static void |
JavaEmbedUtils.addLoadPath(Ruby runtime,
java.lang.ClassLoader cl) |
private static void |
Java.addNameClassMappings(Ruby runtime,
java.util.Map<java.lang.String,JavaClass> nameClassMap)
This populates the master map from short-cut names to JavaClass instances for
a number of core Java types.
|
private static boolean |
Java.allowUppercasePackageNames(Ruby runtime) |
IRubyObject |
JavaArray.arefDirect(Ruby runtime,
int intIndex) |
IRubyObject |
JavaArray.asetDirect(Ruby runtime,
int intIndex,
IRubyObject value) |
private static boolean |
Java.bindJavaPackageOrClassMethod(Ruby runtime,
java.lang.String name,
RubyModule packageOrClass) |
private static RubyArray |
JavaClass.buildConstructors(Ruby runtime,
java.lang.reflect.Constructor<?>[] constructors) |
private static RubyArray |
JavaClass.buildFieldResults(Ruby runtime,
java.lang.reflect.Field[] fields) |
private static void |
Java.checkJavaReservedNames(Ruby runtime,
java.lang.String name,
boolean allowPrimitives) |
static IRubyObject |
Java.constructProxy(Ruby runtime,
java.lang.reflect.Constructor proxyConstructor,
RubyClass clazz) |
abstract IRubyObject |
JavaUtil.JavaConverter.convert(Ruby runtime,
java.lang.Object object) |
static java.lang.Object |
JavaUtil.convertArgument(Ruby runtime,
java.lang.Object argument,
java.lang.Class<?> parameterType)
Deprecated.
|
static IRubyObject |
JavaUtil.convertJavaArrayElementToRuby(Ruby runtime,
JavaUtil.JavaConverter converter,
java.lang.Object array,
int i) |
static IRubyObject[] |
JavaUtil.convertJavaArrayToRuby(Ruby runtime,
java.lang.Object[] objects) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
boolean b) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
double d) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
float f) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
int i) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
JavaUtil.JavaConverter converter,
java.lang.Object object)
Deprecated.
|
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
long l) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
java.lang.Object object) |
static IRubyObject |
JavaUtil.convertJavaToRuby(Ruby runtime,
java.lang.Object object,
java.lang.Class javaClass) |
static IRubyObject |
JavaUtil.convertJavaToUsableRubyObject(Ruby runtime,
java.lang.Object object)
Returns a usable RubyObject; for types that are not converted to Ruby native
types, a Java proxy will be returned.
|
static IRubyObject |
JavaUtil.convertJavaToUsableRubyObjectWithConverter(Ruby runtime,
java.lang.Object object,
JavaUtil.JavaConverter converter) |
private static IRubyObject |
JavaField.convertToRuby(Ruby runtime,
java.lang.Object javaValue) |
static JavaMethod |
JavaMethod.create(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes)
Deprecated.
|
static JavaConstructor |
JavaConstructor.create(Ruby runtime,
java.lang.reflect.Constructor<?> constructor) |
static JavaMethod |
JavaMethod.create(Ruby runtime,
java.lang.reflect.Method method)
Deprecated.
|
static JavaMethod |
JavaMethod.createDeclared(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes)
Deprecated.
|
static RubyClass |
JavaArray.createJavaArrayClass(Ruby runtime,
RubyModule Java) |
(package private) static RubyClass |
JavaArray.createJavaArrayClass(Ruby runtime,
RubyModule Java,
RubyClass JavaObject) |
static RubyModule |
JavaArrayUtilities.createJavaArrayUtilitiesModule(Ruby runtime) |
static RubyClass |
JavaClass.createJavaClassClass(Ruby runtime,
RubyModule Java) |
(package private) static RubyClass |
JavaClass.createJavaClassClass(Ruby runtime,
RubyModule Java,
RubyClass JavaObject) |
static RubyClass |
JavaConstructor.createJavaConstructorClass(Ruby runtime,
RubyModule javaModule) |
static RubyClass |
JavaField.createJavaFieldClass(Ruby runtime,
RubyModule javaModule) |
static RubyClass |
JavaMethod.createJavaMethodClass(Ruby runtime,
RubyModule javaModule) |
static RubyModule |
Java.createJavaModule(Ruby runtime) |
static RubyClass |
JavaObject.createJavaObjectClass(Ruby runtime,
RubyModule javaModule) |
private static RubyModule |
Java.createPackageModule(Ruby runtime,
RubyModule parentModule,
java.lang.String name,
java.lang.String packageString) |
private static RubyClass |
Java.createProxyClass(Ruby runtime,
RubyClass proxyClass,
java.lang.Class<?> javaClass,
boolean invokeInherited) |
private static RubyClass |
Java.createProxyClass(Ruby runtime,
RubyClass baseType,
JavaClass javaClass,
boolean invokeInherited)
Deprecated.
|
(package private) static RubyModule |
Java.createProxyClassForClass(Ruby runtime,
java.lang.Class<?> clazz) |
private static RubyBoolean |
JavaObject.equals(Ruby runtime,
java.lang.Object thisValue,
IRubyObject other) |
static JavaClass |
JavaClass.forNameQuiet(Ruby runtime,
java.lang.String className) |
static JavaClass |
JavaClass.forNameVerbose(Ruby runtime,
java.lang.String className) |
private static void |
Java.generateClassProxy(Ruby runtime,
java.lang.Class<?> clazz,
RubyClass proxy,
RubyClass superClass,
JavaSupport javaSupport) |
private static void |
Java.generateInterfaceProxy(Ruby runtime,
java.lang.Class javaClass,
RubyModule proxy) |
static RubyModule |
Java.get_interface_module(Ruby runtime,
IRubyObject javaClassObject) |
static JavaClass |
JavaClass.get(Ruby runtime,
java.lang.Class<?> klass) |
abstract IRubyObject |
JavaUtil.JavaConverter.get(Ruby runtime,
java.lang.Object array,
int i) |
private static java.lang.Class<?>[] |
JavaClass.getArgumentTypes(Ruby runtime,
IRubyObject[] args,
int offset) |
static IRubyObject |
Java.getInstance(Ruby runtime,
java.lang.Object rawJavaObject)
Same as Java#getInstance(runtime, rawJavaObject, false).
|
static IRubyObject |
Java.getInstance(Ruby runtime,
java.lang.Object rawJavaObject,
boolean forceCache)
Returns a new proxy instance of a type corresponding to rawJavaObject's class,
or the cached proxy if we've already seen this object.
|
static RubyModule |
Java.getInterfaceModule(Ruby runtime,
java.lang.Class javaClass) |
static RubyModule |
Java.getInterfaceModule(Ruby runtime,
JavaClass javaClass) |
static RubyModule |
Java.getJavaPackageModule(Ruby runtime,
java.lang.Package pkg) |
private static RubyModule |
Java.getJavaPackageModule(Ruby runtime,
java.lang.String packageString) |
static JavaCallable |
JavaClass.getMatchingCallable(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
static JavaConstructor |
JavaConstructor.getMatchingConstructor(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.Class<?>[] argumentTypes) |
static JavaMethod |
JavaMethod.getMatchingDeclaredMethod(Ruby runtime,
java.lang.Class<?> javaClass,
java.lang.String methodName,
java.lang.Class<?>[] argumentTypes) |
private static RubyModule |
Java.getPackageModule(Ruby runtime,
java.lang.String name) |
static RubyModule |
Java.getProxyClass(Ruby runtime,
java.lang.Class<?> clazz) |
static RubyModule |
Java.getProxyClass(Ruby runtime,
JavaClass javaClass) |
static RubyClass |
Java.getProxyClassForObject(Ruby runtime,
java.lang.Object object) |
private static RubyModule |
Java.getProxyClassOrNull(Ruby runtime,
java.lang.String className) |
private static RubyModule |
Java.getProxyClassOrNull(Ruby runtime,
java.lang.String className,
boolean initJavaClass) |
static java.lang.reflect.Constructor |
Java.getRealClassConstructor(Ruby runtime,
java.lang.Class<?> proxyImplClass) |
static RubyArray |
JavaClass.getRubyArray(Ruby runtime,
java.lang.Class<?>[] classes)
Deprecated.
|
private static RubyModule |
Java.getTopLevelProxyOrPackage(Ruby runtime,
java.lang.String name,
boolean cacheMethod) |
static java.lang.Object |
JavaEmbedUtils.invokeMethod(Ruby runtime,
java.lang.Object receiver,
java.lang.String method,
java.lang.Object[] args,
java.lang.Class returnType)
Convenience function for embedders
|
static IRubyObject |
JavaUtil.java_to_ruby(Ruby runtime,
IRubyObject object)
Deprecated.
|
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
boolean value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
byte value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
char value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
double value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
float value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
int value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
long value) |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
java.lang.Object value)
Convert a java object to a Ruby object.
|
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
short value) |
void |
Java.load(Ruby runtime,
boolean wrap) |
static RaiseException |
JavaMethod.newArgSizeMismatchError(Ruby runtime,
java.lang.Class... argTypes) |
static RaiseException |
JavaMethod.newMethodNotFoundError(Ruby runtime,
java.lang.Class target,
java.lang.String prettyName,
java.lang.String simpleName) |
static void |
JavaAccessibleObject.registerRubyMethods(Ruby runtime,
RubyClass result) |
static void |
JavaCallable.registerRubyMethods(Ruby runtime,
RubyClass result) |
protected static void |
JavaObject.registerRubyMethods(Ruby runtime,
RubyClass JavaObject) |
static java.lang.Object |
JavaEmbedUtils.rubyToJava(Ruby runtime,
IRubyObject value,
java.lang.Class type)
Convert a Ruby object to a Java object.
|
abstract void |
JavaUtil.JavaConverter.set(Ruby runtime,
java.lang.Object array,
int i,
IRubyObject value) |
static void |
JavaEmbedUtils.terminate(Ruby runtime)
Dispose of the runtime you initialized.
|
static IRubyObject |
JavaObject.to_s(Ruby runtime,
java.lang.Object dataStruct) |
static RubyArray |
JavaClass.toRubyArray(Ruby runtime,
java.lang.Class<?>[] classes) |
private static IRubyObject |
JavaUtil.trySimpleConversions(Ruby runtime,
java.lang.Object object) |
static RaiseException |
JavaClass.undefinedFieldError(Ruby runtime,
java.lang.String javaClassName,
java.lang.String name) |
static JavaObject |
JavaUtil.unwrapJavaObject(Ruby runtime,
IRubyObject convertee,
java.lang.String errorMessage)
Deprecated.
|
static java.lang.Object |
JavaUtil.unwrapJavaValue(Ruby runtime,
IRubyObject object,
java.lang.String errorMessage)
Deprecated.
|
static IRubyObject |
Java.wrap(Ruby runtime,
IRubyObject java_object) |
static JavaObject |
JavaObject.wrap(Ruby runtime,
java.lang.Object value) |
static IRubyObject |
Java.wrapJavaObject(Ruby runtime,
java.lang.Object object) |
| Constructor and Description |
|---|
InterpretedEvalUnit(Ruby runtime,
Node node) |
JavaAccessibleObject(Ruby runtime,
RubyClass rubyClass) |
JavaArray(Ruby runtime,
java.lang.Object array) |
JavaCallable(Ruby runtime,
RubyClass rubyClass,
java.lang.Class<?>[] parameterTypes) |
JavaClass(Ruby runtime,
java.lang.Class<?> javaClass) |
JavaConstructor(Ruby runtime,
java.lang.reflect.Constructor<?> constructor) |
JavaField(Ruby runtime,
java.lang.reflect.Field field) |
JavaMethod(Ruby runtime,
java.lang.reflect.Method method) |
JavaObject(Ruby runtime,
java.lang.Object value) |
JavaObject(Ruby runtime,
RubyClass rubyClass,
java.lang.Object value) |
JavaSupport(Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
protected Ruby |
Initializer.runtime |
| Modifier and Type | Method and Description |
|---|---|
static RubyModule |
Initializer.setupProxyClass(Ruby runtime,
java.lang.Class<?> javaClass,
RubyClass proxy) |
static RubyModule |
Initializer.setupProxyModule(Ruby runtime,
java.lang.Class<?> javaClass,
RubyModule proxy) |
| Constructor and Description |
|---|
ClassInitializer(Ruby runtime,
java.lang.Class<?> javaClass) |
Initializer(Ruby runtime,
java.lang.Class javaClass) |
InterfaceInitializer(Ruby runtime,
java.lang.Class<?> javaClass) |
State(Ruby runtime,
java.lang.Class superClass) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
JRubyEngine.runtime |
private Ruby |
JRubyEngine.BeanGlobalVariable.runtime |
private Ruby |
JRubyEngine.FunctionsGlobalVariable.runtime |
| Modifier and Type | Method and Description |
|---|---|
private static void |
JRubyEngine.printException(Ruby runtime,
java.lang.Exception exception)
Prints out an error message.
|
| Constructor and Description |
|---|
BeanGlobalVariable(Ruby runtime,
org.apache.bsf.BSFDeclaredBean bean) |
FunctionsGlobalVariable(Ruby runtime,
org.apache.bsf.util.BSFFunctions functions) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
JavaProxyConstructor.MethodInvocationHandler.runtime |
private Ruby |
JavaProxyConstructor.ProcInvocationHandler.runtime |
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.lang.ThreadLocal<Ruby> |
JavaProxyClass.runtimeTLS |
| Modifier and Type | Method and Description |
|---|---|
private static Ruby |
JavaProxyClass.getThreadLocalRuntime() |
| Modifier and Type | Method and Description |
|---|---|
static RubyClass |
JavaProxyClass.createJavaProxyClassClass(Ruby runtime,
RubyModule Java) |
static void |
JavaProxyClass.createJavaProxyClasses(Ruby runtime,
RubyModule Java) |
static RubyClass |
JavaProxyConstructor.createJavaProxyConstructorClass(Ruby runtime,
RubyModule Java) |
static RubyClass |
JavaProxyClass.ProxyMethodImpl.createJavaProxyMethodClass(Ruby runtime,
RubyModule Java) |
static void |
JavaProxyClass.createJavaProxyModule(Ruby runtime)
Deprecated.
|
private static RubyClass |
JavaProxyClass.ProxyMethodImpl.getJavaProxyMethod(Ruby runtime) |
static JavaProxyClass |
JavaProxyClass.getProxyClass(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces) |
static JavaProxyClass |
JavaProxyClass.getProxyClass(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces,
java.util.Set<java.lang.String> names) |
JavaProxyClass |
JavaProxyClassFactory.newProxyClass(Ruby runtime,
java.lang.ClassLoader loader,
java.lang.String targetClassName,
java.lang.Class superClass,
java.lang.Class[] interfaces,
java.util.Set<java.lang.String> names) |
static java.lang.Object |
JavaProxyClass.newProxyInstance(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces,
java.lang.Class[] constructorParameters,
java.lang.Object[] constructorArgs,
JavaProxyInvocationHandler handler) |
protected static void |
JavaProxyReflectionObject.registerRubyMethods(Ruby runtime,
RubyClass klass) |
private static void |
JavaProxyClassFactory.validateArgs(Ruby runtime,
java.lang.String targetClassName,
java.lang.Class superClass) |
| Constructor and Description |
|---|
JavaProxyConstructor(Ruby runtime,
JavaProxyClass proxyClass,
java.lang.reflect.Constructor<?> constructor) |
JavaProxyReflectionObject(Ruby runtime,
RubyClass metaClass) |
MethodInvocationHandler(Ruby runtime,
IRubyObject self) |
ProcInvocationHandler(Ruby runtime,
RubyProc proc) |
ProxyMethodImpl(Ruby runtime,
JavaProxyClass clazz,
java.lang.reflect.Method method,
java.lang.reflect.Method superMethod) |
| Modifier and Type | Field and Description |
|---|---|
static Ruby |
DripMain.DRIP_RUNTIME |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.ref.SoftReference<Ruby> |
ClassCache.ruby |
private java.lang.ref.SoftReference<Ruby> |
Config.ruby |
private java.lang.ref.SoftReference<Ruby> |
ParserStats.ruby |
private java.lang.ref.SoftReference<Ruby> |
Runtime.ruby |
| Modifier and Type | Method and Description |
|---|---|
static BeanManager |
BeanManagerFactory.create(Ruby runtime,
boolean managementEnabled) |
private static void |
Runtime.dumpThread(Ruby ruby,
RubyThread th,
TraceType.Gather gather,
java.io.PrintWriter pw) |
| Constructor and Description |
|---|
BeanManagerImpl(Ruby ruby,
boolean managementEnabled) |
ClassCache(Ruby ruby) |
Config(Ruby ruby) |
ParserStats(Ruby ruby) |
Runtime(Ruby ruby) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
Parser.runtime |
private Ruby |
ParserConfiguration.runtime |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
ParserConfiguration.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
private RubyArray |
Parser.getLines(ParserConfiguration configuration,
Ruby runtime,
java.lang.String file) |
| Constructor and Description |
|---|
IRStaticScopeFactory(Ruby runtime) |
Parser(Ruby runtime) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
boolean isFileParse,
boolean saveData,
RubyInstanceConfig config) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
boolean isFileParse,
CompatVersion version,
boolean saveData) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
boolean isFileParse,
RubyInstanceConfig config) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean extraPositionInformation,
boolean inlineSource,
CompatVersion version) |
ParserConfiguration(Ruby runtime,
int lineNumber,
boolean inlineSource,
CompatVersion version) |
StaticScopeFactory(Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
protected Ruby |
GlobalVariable.runtime |
Ruby |
ThreadContext.runtime |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
ThreadContext.getRuntime()
Retrieve the runtime associated with this context.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Helpers.addInstanceMethod(RubyModule containingClass,
java.lang.String name,
DynamicMethod method,
Visibility visibility,
ThreadContext context,
Ruby runtime) |
IRubyObject |
ObjectAllocator.allocate(Ruby runtime,
RubyClass klazz) |
static RubyArray |
Helpers.arrayValue(ThreadContext context,
Ruby runtime,
IRubyObject value) |
private IRubyObject[] |
InterpretedIRBlockBody.assignArrayToBlockArgs(Ruby ruby,
IRubyObject value) |
private void |
CompiledBlock.blockArgWarning(Ruby ruby,
int length) |
protected void |
InterpretedIRBlockBody.blockArgWarning(Ruby ruby,
int length) |
static IRubyObject |
Helpers.breakLocalJumpError(Ruby runtime,
IRubyObject value) |
static IRubyObject |
Helpers.callZSuper(Ruby runtime,
ThreadContext context,
Block block,
IRubyObject self) |
static int |
Arity.checkArgumentCount(Ruby runtime,
int length,
int min,
int max) |
static int |
Arity.checkArgumentCount(Ruby runtime,
int length,
int min,
int max,
boolean hasKwargs) |
static int |
Arity.checkArgumentCount(Ruby runtime,
IRubyObject[] args,
int min,
int max) |
static int |
Arity.checkArgumentCount(Ruby runtime,
java.lang.String name,
int length,
int min,
int max) |
static int |
Arity.checkArgumentCount(Ruby runtime,
java.lang.String name,
int length,
int min,
int max,
boolean hasKwargs) |
static int |
Arity.checkArgumentCount(Ruby runtime,
java.lang.String name,
IRubyObject[] args,
int min,
int max) |
void |
Arity.checkArity(Ruby runtime,
int length) |
void |
Arity.checkArity(Ruby runtime,
IRubyObject[] args) |
private static IRubyObject |
Helpers.coerceProc(IRubyObject maybeProc,
Ruby runtime) |
static RubyHash |
Helpers.constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
Helpers.constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
Helpers.constructHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyHash |
Helpers.constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
Helpers.constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
Helpers.constructHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine) |
static RubyArray |
Helpers.constructRubyArray(Ruby runtime,
IRubyObject one,
IRubyObject two,
IRubyObject three,
IRubyObject four,
IRubyObject five,
IRubyObject six,
IRubyObject seven,
IRubyObject eight,
IRubyObject nine,
IRubyObject ten) |
static RubyHash |
Helpers.constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
Helpers.constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
Helpers.constructSmallHash(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
static RubyHash |
Helpers.constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1) |
static RubyHash |
Helpers.constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2) |
static RubyHash |
Helpers.constructSmallHash19(Ruby runtime,
IRubyObject key1,
IRubyObject value1,
IRubyObject key2,
IRubyObject value2,
IRubyObject key3,
IRubyObject value3) |
private static IRubyObject[] |
Helpers.convertSplatToJavaArray(Ruby runtime,
IRubyObject value) |
static CallbackFactory |
CallbackFactory.createFactory(Ruby runtime,
java.lang.Class type)
Deprecated.
|
static CallbackFactory |
CallbackFactory.createFactory(Ruby runtime,
java.lang.Class type,
java.lang.ClassLoader classLoader)
Deprecated.
|
static RubyArray |
Helpers.createSubarray(IRubyObject[] input,
Ruby runtime,
int start) |
static RubyArray |
Helpers.createSubarray(IRubyObject[] input,
Ruby runtime,
int start,
int exclude) |
RubyStackTraceElement[] |
ThreadContext.createWarningBacktrace(Ruby runtime)
Create an Array with backtrace information for a built-in warning
|
static IRubyObject |
Helpers.declareClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
java.lang.String name,
IRubyObject value) |
static java.lang.String |
Helpers.decodeByteList(Ruby runtime,
org.jruby.util.ByteList value)
Decode a given ByteList to a Java string.
|
private IRubyObject |
CompiledBlock.defaultArgLogic(Ruby ruby,
IRubyObject value) |
private IRubyObject |
CompiledBlock.defaultArgsLogic(Ruby ruby,
IRubyObject value) |
static RubyArray |
Helpers.ensureMultipleAssignableRubyArray(IRubyObject value,
Ruby runtime,
boolean masgnHasHead) |
static RubyArray |
Helpers.ensureRubyArray(Ruby runtime,
IRubyObject value) |
static IRubyObject |
Helpers.fetchClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
java.lang.String name) |
static void |
Helpers.fillNil(IRubyObject[] arr,
int from,
int to,
Ruby runtime) |
static void |
Helpers.fillNil(IRubyObject[] arr,
Ruby runtime) |
static RubyStackTraceElement[] |
ThreadContext.gatherRawBacktrace(Ruby runtime,
java.lang.StackTraceElement[] stackTrace) |
static IRubyObject |
Helpers.getBackref(Ruby runtime,
ThreadContext context) |
static Block |
Helpers.getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Node node,
Block aBlock) |
static Block |
Helpers.getBlockFromBlockPassBody(Ruby runtime,
IRubyObject proc,
Block currentBlock) |
static RubyString |
Helpers.getDefinedNot(Ruby runtime,
RubyString definition) |
static IRubyObject |
Helpers.getErrorInfo(Ruby runtime) |
DynamicScope |
Binding.getEvalScope(Ruby runtime) |
DynamicScope |
DynamicScope.getEvalScope(Ruby runtime) |
static IRubyObject |
Helpers.getGlobalVariable(Ruby runtime,
java.lang.String name) |
static IRubyObject |
Helpers.getInstanceVariable(IRubyObject self,
Ruby runtime,
java.lang.String internedName) |
static IRubyObject |
Helpers.getLastLine(Ruby runtime,
ThreadContext context) |
static RubyClass |
Helpers.getSingletonClass(Ruby runtime,
IRubyObject receiver) |
static RubyModule |
Helpers.getSuperClassForDefined(Ruby runtime,
RubyModule klazz) |
static void |
Helpers.handleArgumentSizes(ThreadContext context,
Ruby runtime,
int given,
int required,
int opt,
int rest) |
static java.lang.String |
Helpers.interpretAliasUndefName(Node nameNode,
Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock)
Some of this code looks scary.
|
void |
ObjectMarshal.marshalTo(Ruby runtime,
java.lang.Object obj,
RubyClass type,
MarshalStream marshalStream) |
static IRubyObject |
Helpers.negate(IRubyObject value,
Ruby runtime) |
static ThreadContext |
ThreadContext.newContext(Ruby runtime) |
static IRubyObject |
Helpers.nextLocalJumpError(Ruby runtime,
IRubyObject value) |
static IRubyObject |
Helpers.nullToNil(IRubyObject value,
Ruby runtime) |
static RubyArray |
Helpers.parameterListToParameters(Ruby runtime,
java.lang.String[] parameterList,
boolean isLambda) |
private static void |
Helpers.performNormalMethodChecks(RubyModule containingClass,
Ruby runtime,
java.lang.String name) |
static RubyClass |
Helpers.performSingletonMethodChecks(Ruby runtime,
IRubyObject receiver,
java.lang.String name) |
private IRubyObject |
InterpretedIRBlockBody.prepareArrayArgsForCall(Ruby ruby,
IRubyObject value) |
static RubyClass |
Helpers.prepareSuperClass(Ruby runtime,
IRubyObject rubyClass) |
static IRubyObject |
Helpers.processBlockArgument(Ruby runtime,
Block block) |
private static IRubyObject |
Helpers.processGivenBlock(Block block,
Ruby runtime) |
static void |
Arity.raiseArgumentError(Ruby runtime,
int length,
int min,
int max) |
static void |
Arity.raiseArgumentError(Ruby runtime,
int length,
int min,
int max,
boolean hasKwargs) |
static void |
Arity.raiseArgumentError(Ruby runtime,
IRubyObject[] args,
int min,
int max) |
static void |
Arity.raiseArgumentError(Ruby runtime,
java.lang.String name,
int length,
int min,
int max) |
static void |
Arity.raiseArgumentError(Ruby runtime,
java.lang.String name,
int length,
int min,
int max,
boolean hasKwargs) |
static IRubyObject |
Helpers.redoLocalJumpError(Ruby runtime) |
static void |
Helpers.registerEndBlock(Block block,
Ruby runtime) |
static void |
Helpers.rewriteStackTrace(Ruby runtime,
java.lang.Throwable e) |
static IRubyObject |
Helpers.rewriteStackTraceAndThrow(java.lang.Throwable t,
Ruby runtime)
Deprecated.
|
static IRubyObject[] |
Arity.scanArgs(Ruby runtime,
IRubyObject[] args,
int required,
int optional) |
private static DynamicMethod |
Helpers.selectInternalMM(Ruby runtime,
Visibility visibility,
CallType callType) |
static IRubyObject |
Helpers.setBackref(Ruby runtime,
ThreadContext context,
IRubyObject value) |
static IRubyObject |
Helpers.setClassVariable(Ruby runtime,
StaticScope scope,
IRubyObject self,
java.lang.String name,
IRubyObject value) |
static void |
Helpers.setErrorInfo(Ruby runtime,
IRubyObject error) |
static IRubyObject |
Helpers.setGlobalVariable(IRubyObject value,
Ruby runtime,
java.lang.String name) |
static IRubyObject |
Helpers.setLastLine(Ruby runtime,
ThreadContext context,
IRubyObject value) |
protected IRubyObject |
CompiledBlock.setupBlockArg(Ruby ruby,
IRubyObject value,
IRubyObject self) |
private IRubyObject[] |
CompiledBlock19.setupBlockArg(Ruby ruby,
IRubyObject value,
IRubyObject self,
Block.Type type) |
private static IRubyObject[] |
Helpers.splatToArgumentsCommon(Ruby runtime,
IRubyObject value) |
static RubyArray |
Helpers.subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index) |
static RubyArray |
Helpers.subarrayOrEmpty(RubyArray array,
Ruby runtime,
int index,
int post) |
java.lang.Object |
ObjectMarshal.unmarshalFrom(Ruby runtime,
RubyClass type,
UnmarshalStream unmarshalStream) |
private static void |
Helpers.warnAboutUninitializedIvar(Ruby runtime,
java.lang.String internedName) |
private IRubyObject |
CompiledBlock.warnMultiReturnNil(Ruby ruby) |
| Constructor and Description |
|---|
Copy(Ruby runtime,
java.lang.String name,
GlobalVariable other) |
GlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
JavaInternalBlockBody(Ruby runtime,
Arity arity)
For blocks which can be executed in any thread concurrently.
|
JavaInternalBlockBody(Ruby runtime,
ThreadContext originalContext,
java.lang.String methodName,
Arity arity)
For blocks which cannot be executed in parallel.
|
ReadonlyGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value) |
ThreadContext(Ruby runtime)
Constructor for Context.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject[] values,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
Block block) |
abstract void |
Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest0Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest1Post0Assigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value1,
IRubyObject value2,
IRubyObject value3,
Block block) |
abstract void |
Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject values,
Block block) |
void |
Pre0Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject values,
Block block) |
void |
Pre0Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject values,
Block block) |
void |
Pre0Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre0Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1ExpandedRest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block) |
void |
Pre1ExpandedRest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block) |
void |
Pre1Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre1Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre2Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
Pre3Rest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest0Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest0Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest1Post0Assigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
void |
PreManyRest1Post0BlockAssigner.assignArray(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject arg,
Block block) |
private void |
PreManyRest0Post0Assigner.assignNilTo(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block,
int start) |
private void |
PreManyRest0Post0BlockAssigner.assignNilTo(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block,
int start) |
private void |
PreManyRest1Post0Assigner.assignNilTo(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block,
int start) |
private void |
PreManyRest1Post0BlockAssigner.assignNilTo(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block block,
int start) |
IRubyObject |
Assigner.convertIfAlreadyArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0Assigner.convertIfAlreadyArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0BlockAssigner.convertIfAlreadyArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest0Post0Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest0Post0BlockAssigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest1Post0Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre0Rest1Post0BlockAssigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0Assigner.convertToArray(Ruby runtime,
IRubyObject value) |
IRubyObject |
Pre1ExpandedRest0Post0BlockAssigner.convertToArray(Ruby runtime,
IRubyObject value) |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
TraceType.generateMRIBacktrace(Ruby runtime,
RubyStackTraceElement[] trace) |
RubyStackTraceElement[] |
BacktraceData.getBacktrace(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
IRubyObject.getRuntime()
RubyMethod getRuntime.
|
| Modifier and Type | Method and Description |
|---|---|
private static IRubyObject |
RespondToCallSite.checkVisibilityAndCache(CacheEntry respondEntry,
boolean checkVisibility,
Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
EncodingService.runtime |
| Modifier and Type | Method and Description |
|---|---|
private void |
EncodingService.defineEncodingConstant(Ruby runtime,
RubyEncoding encoding,
byte[] constName,
int constP,
int constEnd) |
private void |
EncodingService.defineEncodingConstants(Ruby runtime,
RubyEncoding encoding,
byte[] name,
int p,
int end) |
org.jcodings.Encoding |
EncodingService.getFileSystemEncoding(Ruby runtime) |
org.jcodings.Encoding |
EncodingService.SpecialEncoding.toEncoding(Ruby runtime) |
| Constructor and Description |
|---|
EncodingService(Ruby runtime) |
| Modifier and Type | Method and Description |
|---|---|
static Ruby |
InvokeDynamicSupport.loadRuntime(java.lang.invoke.MutableCallSite site,
ThreadContext context) |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
InvocationLinker.booleanOrNil(Ruby runtime,
java.lang.Boolean b) |
private static java.lang.invoke.MethodHandle |
InvocationLinker.createNativeHandle(Ruby runtime,
JRubyCallSite site,
DynamicMethod method,
java.lang.String name) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Byte b) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Character c) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Integer i) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Long l) |
static IRubyObject |
InvocationLinker.fixnumOrNil(Ruby runtime,
java.lang.Short s) |
static IRubyObject |
InvocationLinker.floatOrNil(Ruby runtime,
java.lang.Double d) |
static IRubyObject |
InvocationLinker.floatOrNil(Ruby runtime,
java.lang.Float f) |
static IRubyObject |
InvocationLinker.stringOrNil(Ruby runtime,
java.lang.CharSequence cs) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
LibrarySearcher.runtime |
protected Ruby |
LoadService.runtime |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BasicLibraryService.basicLoad(Ruby runtime) |
void |
IAutoloadMethod.load(Ruby runtime) |
void |
CExtension.load(Ruby runtime,
boolean wrap)
Try loading the found c-extension.
|
void |
ClassExtensionLibrary.load(Ruby runtime,
boolean wrap) |
void |
ExternalScript.load(Ruby runtime,
boolean wrap) |
void |
JarredScript.load(Ruby runtime,
boolean wrap) |
void |
JavaCompiledScript.load(Ruby runtime,
boolean wrap) |
void |
Library.load(Ruby runtime,
boolean wrap) |
void |
LibrarySearcher.FoundLibrary.load(Ruby runtime,
boolean wrap) |
void |
LibrarySearcher.ResourceLibrary.load(Ruby runtime,
boolean wrap) |
void |
LoadService.ScriptClassSearcher.ScriptClassLibrary.load(Ruby runtime,
boolean wrap) |
private void |
LibrarySearcher.ResourceLibrary.loadClass(Ruby runtime,
java.io.InputStream is,
boolean wrap) |
private void |
LibrarySearcher.ResourceLibrary.loadJar(Ruby runtime,
boolean wrap) |
private void |
LibrarySearcher.ResourceLibrary.loadScript(Ruby runtime,
java.io.InputStream is,
boolean wrap) |
static Script |
CompiledScriptLoader.loadScriptFromFile(Ruby runtime,
java.io.InputStream inStream,
java.lang.String resourceName) |
private static RaiseException |
LoadService.newLoadErrorFromThrowable(Ruby runtime,
java.lang.String file,
java.lang.Throwable t) |
static void |
LoadService.reflectedLoad(Ruby runtime,
java.lang.String libraryName,
java.lang.String className,
java.lang.ClassLoader classLoader,
boolean wrap)
Load the org.jruby.runtime.load.Library implementation specified by
className.
|
(package private) static ClassExtensionLibrary |
ClassExtensionLibrary.tryFind(Ruby runtime,
java.lang.String searchName)
Try to locate an extension service in the current classloader resources.
|
protected boolean |
LoadService.tryLoadingLibraryOrScript(Ruby runtime,
LoadService.SearchState state) |
| Constructor and Description |
|---|
LoadService(Ruby runtime) |
LoadService19(Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
MarshalStream.runtime |
private Ruby |
UnmarshalCache.runtime |
protected Ruby |
UnmarshalStream.runtime |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
UnmarshalStream.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
static RubyClass |
UnmarshalStream.getClassFromPath(Ruby runtime,
java.lang.String path) |
static RubyModule |
UnmarshalStream.getModuleFromPath(Ruby runtime,
java.lang.String path) |
| Constructor and Description |
|---|
MarshalStream(Ruby runtime,
java.io.OutputStream out,
int depthLimit) |
UnmarshalCache(Ruby runtime) |
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint) |
UnmarshalStream(Ruby runtime,
java.io.InputStream in,
IRubyObject proc,
boolean taint,
boolean untrust) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
ProfilingServiceLookup.runtime |
| Modifier and Type | Method and Description |
|---|---|
private Ruby |
ProfilingServiceLookup.getRuntime()
Getter to avoid direct property access.
|
| Modifier and Type | Method and Description |
|---|---|
MethodEnhancer |
ProfilingService.newMethodEnhancer(Ruby runtime) |
| Constructor and Description |
|---|
ProfilingServiceLookup(Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
BuiltinProfilingService.DefaultMethodEnhancer.runtime |
private Ruby |
ProfiledMethods.runtime |
| Modifier and Type | Method and Description |
|---|---|
private Ruby |
BuiltinProfilingService.DefaultMethodEnhancer.getRuntime() |
private Ruby |
BuiltinProfilingService.DefaultProfileReporter.getRuntime() |
private Ruby |
ProfiledMethods.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
BuiltinProfilingService.DefaultMethodEnhancer |
BuiltinProfilingService.newMethodEnhancer(Ruby runtime) |
| Constructor and Description |
|---|
DefaultMethodEnhancer(Ruby runtime) |
ProfiledMethods(Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
ShellLauncher.ScriptThreadProcess.parentRuntime |
private Ruby |
ConvertBytes.runtime |
private Ruby |
JRubyObjectInputStream.runtime |
private Ruby |
ShellLauncher.LaunchConfig.runtime |
private Ruby |
ShellLauncher.StreamPumper.runtime |
private Ruby |
ShellLauncher.ChannelPumper.runtime |
private Ruby |
Sprintf.Args.runtime |
private Ruby |
SunSignalFacade.JRubySignalHandler.runtime |
| Modifier and Type | Method and Description |
|---|---|
private static java.util.Map<RubyString,RubyString> |
OSEnvironment.asMapOfRubyStrings(Ruby runtime,
java.util.Map<?,?> map) |
static java.lang.Process |
ShellLauncher.buildProcess(Ruby runtime,
java.lang.String[] args,
java.lang.String[] env,
java.io.File pwd) |
static RubyInteger |
ConvertBytes.byteListToInum(Ruby runtime,
org.jruby.util.ByteList str,
int base,
boolean badcheck)
rb_cstr_to_inum
|
static RubyInteger |
ConvertBytes.byteListToInum19(Ruby runtime,
org.jruby.util.ByteList str,
int base,
boolean badcheck) |
static RubyString |
StringSupport.checkEmbeddedNulls(Ruby runtime,
IRubyObject ptr) |
static IRubyObject |
TypeConverter.checkFloatType(Ruby runtime,
IRubyObject obj) |
static IRubyObject |
TypeConverter.checkHashType(Ruby runtime,
IRubyObject obj) |
static IRubyObject |
TypeConverter.checkIntegerType(Ruby runtime,
IRubyObject obj,
java.lang.String method) |
static void |
StringSupport.checkStringSafety(Ruby runtime,
IRubyObject value)
Check whether input object's string value contains a null byte, and if so
throw SecurityError.
|
static IRubyObject |
TypeConverter.checkStringType(Ruby runtime,
IRubyObject obj) |
static int |
StringSupport.codeLength(Ruby runtime,
org.jcodings.Encoding enc,
int c) |
static int |
StringSupport.codePoint(Ruby runtime,
org.jcodings.Encoding enc,
byte[] bytes,
int p,
int end) |
static KCode |
KCode.create(Ruby runtime,
java.lang.String lang) |
static FileResource |
URLResource.create(Ruby runtime,
java.lang.String pathname) |
static FileResource |
URLResource.createClassloaderURI(Ruby runtime,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(jnr.posix.POSIX posix,
Ruby runtime,
java.lang.String cwd,
java.lang.String pathname) |
static FileResource |
JRubyFile.createResource(Ruby runtime,
java.lang.String pathname) |
abstract IRubyObject |
Pack.ConverterExecutor.decode(Ruby runtime,
java.nio.ByteBuffer format) |
abstract IRubyObject |
Pack.Converter.decode(Ruby runtime,
java.nio.ByteBuffer format) |
static void |
Pack.decode(Ruby runtime,
java.nio.ByteBuffer encode,
int occurrences,
RubyArray result,
Pack.Converter converter) |
IRubyObject |
Pack.Converter.decode19(Ruby runtime,
java.nio.ByteBuffer format) |
static int |
Pack.encode(Ruby runtime,
int occurrences,
org.jruby.util.ByteList result,
RubyArray list,
int index,
Pack.ConverterExecutor converter) |
abstract void |
Pack.ConverterExecutor.encode(Ruby runtime,
IRubyObject from,
org.jruby.util.ByteList result) |
abstract void |
Pack.Converter.encode(Ruby runtime,
IRubyObject from,
org.jruby.util.ByteList result) |
void |
Pack.Converter.encode19(Ruby runtime,
IRubyObject from,
org.jruby.util.ByteList result) |
private static org.jruby.util.ByteList |
Pack.encodes(Ruby runtime,
org.jruby.util.ByteList io2Append,
byte[] charsToEncode,
int startIndex,
int length,
int charCount,
byte encodingType,
boolean tailLf)
encodes a String in base64 or its uuencode variant.
|
static java.util.Map<RubyString,RubyString> |
OSEnvironment.environmentVariableMap(Ruby runtime)
Returns the environment as a hash of Ruby strings.
|
static int |
ShellLauncher.execAndWait(Ruby runtime,
IRubyObject[] rawArgs) |
static int |
ShellLauncher.execAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.util.Map mergeEnv) |
private static java.lang.String[] |
ShellLauncher.expandGlobs(Ruby runtime,
java.lang.String[] originalArgs) |
private static java.io.File |
ShellLauncher.findPathExecutable(Ruby runtime,
java.lang.String fname) |
private static java.io.File |
ShellLauncher.findPathFile(Ruby runtime,
java.lang.String fname,
java.lang.String[] path,
boolean isExec) |
static java.lang.String[] |
ShellLauncher.getCurrentEnv(Ruby runtime) |
private static java.lang.String[] |
ShellLauncher.getCurrentEnv(Ruby runtime,
java.util.Map mergeEnv) |
java.util.Map |
OSEnvironment.getEnvironmentVariableMap(Ruby runtime) |
static java.net.URL |
URLResource.getResourceURL(Ruby runtime,
java.lang.String location) |
private static java.lang.String |
ShellLauncher.getShell(Ruby runtime) |
java.util.Map |
OSEnvironment.getSystemPropertiesMap(Ruby runtime) |
private static void |
ShellLauncher.handleStreams(Ruby runtime,
java.lang.Process p,
java.io.InputStream in,
java.io.OutputStream out,
java.io.OutputStream err) |
private static void |
ShellLauncher.handleStreamsNonblocking(Ruby runtime,
java.lang.Process p,
java.io.OutputStream out,
java.io.OutputStream err) |
private static java.io.File |
ShellLauncher.isValidFile(Ruby runtime,
java.lang.String fname,
boolean isExec) |
private static java.io.File |
ShellLauncher.isValidFile(Ruby runtime,
java.lang.String fdir,
java.lang.String fname,
boolean isExec) |
static java.lang.String |
ClasspathLauncher.jrubyCommand(Ruby runtime) |
IRubyObject |
KCode.kcode(Ruby runtime) |
(package private) static void |
ShellLauncher.log(Ruby runtime,
java.lang.String msg) |
abstract RaiseException |
ResourceException.newRaiseException(Ruby runtime) |
RaiseException |
ResourceException.ErrnoException.newRaiseException(Ruby runtime) |
RaiseException |
ResourceException.IOError.newRaiseException(Ruby runtime) |
private static double |
Pack.obj2dbl(Ruby runtime,
IRubyObject o) |
private static double |
Pack.obj2dbl19(Ruby runtime,
IRubyObject o) |
private static float |
Pack.obj2flt(Ruby runtime,
IRubyObject o) |
private static float |
Pack.obj2flt19(Ruby runtime,
IRubyObject o) |
static RubyString |
Pack.pack(Ruby runtime,
RubyArray list,
org.jruby.util.ByteList formatString)
Same as pack(Ruby, RubyArray, ByteList) but defaults tainting of output to false.
|
static RubyString |
Pack.pack(Ruby runtime,
RubyArray list,
org.jruby.util.ByteList formatString,
boolean taint)
pack_pack
Template characters for Array#pack Directive Meaning
Packs the contents of arr into a binary sequence according to the directives in
aTemplateString (see preceding table).
|
static RubyString |
Pack.pack19(ThreadContext context,
Ruby runtime,
RubyArray list,
RubyString formatString) |
private static RubyString |
Pack.packCommon(Ruby runtime,
RubyArray list,
org.jruby.util.ByteList formatString,
boolean tainted,
Pack.ConverterExecutor executor) |
private static java.lang.String[] |
ShellLauncher.parseCommandLine(ThreadContext context,
Ruby runtime,
IRubyObject[] rawArgs) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject[] strings,
java.util.Map env,
IOOptions modes)
Deprecated.
|
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject[] strings,
java.util.Map env,
ModeFlags modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
IOOptions modes)
Deprecated.
|
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
java.util.Map env,
ModeFlags modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen(Ruby runtime,
IRubyObject string,
ModeFlags modes) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen3(Ruby runtime,
IRubyObject[] strings) |
static ShellLauncher.POpenProcess |
ShellLauncher.popen3(Ruby runtime,
IRubyObject[] strings,
boolean addShell) |
private static java.lang.Process |
ShellLauncher.popenShared(Ruby runtime,
IRubyObject[] strings) |
private static java.lang.Process |
ShellLauncher.popenShared(Ruby runtime,
IRubyObject[] strings,
java.util.Map env) |
private static java.lang.Process |
ShellLauncher.popenShared(Ruby runtime,
IRubyObject[] strings,
java.util.Map env,
boolean addShell) |
private void |
ShellLauncher.POpenProcess.pumpInerr(java.lang.Process child,
Ruby runtime) |
private void |
ShellLauncher.POpenProcess.pumpInput(java.lang.Process child,
Ruby runtime) |
private static void |
OSEnvironment.putRubyKeyValuePair(Ruby runtime,
java.util.Map<RubyString,RubyString> map,
java.lang.String key,
java.lang.String value,
org.jcodings.Encoding encoding) |
static java.lang.Process |
ShellLauncher.run(Ruby runtime,
IRubyObject string) |
static java.lang.Process |
ShellLauncher.run(Ruby runtime,
IRubyObject[] rawArgs,
boolean doExecutableSearch) |
static java.lang.Process |
ShellLauncher.run(Ruby runtime,
IRubyObject[] rawArgs,
boolean doExecutableSearch,
boolean forceExternalProcess) |
static int |
ShellLauncher.runAndWait(Ruby runtime,
IRubyObject[] rawArgs) |
static int |
ShellLauncher.runAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output) |
static int |
ShellLauncher.runAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output,
boolean doExecutableSearch) |
static long[] |
ShellLauncher.runAndWaitPid(Ruby runtime,
IRubyObject[] rawArgs) |
static long[] |
ShellLauncher.runAndWaitPid(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output,
boolean doExecutableSearch) |
static long |
ShellLauncher.runExternal(Ruby runtime,
IRubyObject env,
IRubyObject prog,
IRubyObject options,
IRubyObject args,
boolean wait) |
static int |
ShellLauncher.runExternalAndWait(Ruby runtime,
IRubyObject[] rawArgs,
java.util.Map mergeEnv) |
static long |
ShellLauncher.runExternalWithoutWait(Ruby runtime,
IRubyObject[] rawArgs) |
private static long |
ShellLauncher.runExternalWithoutWait(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output) |
static long |
ShellLauncher.runExternalWithoutWait(Ruby runtime,
IRubyObject env,
IRubyObject prog,
IRubyObject options,
IRubyObject args) |
static long |
ShellLauncher.runWithoutWait(Ruby runtime,
IRubyObject[] rawArgs) |
private static long |
ShellLauncher.runWithoutWait(Ruby runtime,
IRubyObject[] rawArgs,
java.io.OutputStream output) |
org.jcodings.Encoding |
RegexpOptions.setup19(Ruby runtime)
Calculate the encoding based on kcode option set via 'nesu'.
|
static boolean |
Sprintf.sprintf(Ruby runtime,
org.jruby.util.ByteList to,
java.lang.CharSequence format,
int arg) |
private static double |
Pack.str2dbl(Ruby runtime,
RubyString o) |
static java.util.Map<RubyString,RubyString> |
OSEnvironment.systemPropertiesMap(Ruby runtime)
Returns java system properties as a Map
|
static RubyNumeric |
TypeConverter.toFloat(Ruby runtime,
IRubyObject obj) |
IRubyObject |
NoFunctionalitySignalFacade.trap(Ruby runtime,
BlockCallback block,
java.lang.String sig) |
IRubyObject |
SignalFacade.trap(Ruby runtime,
BlockCallback block,
java.lang.String sig) |
IRubyObject |
SunSignalFacade.trap(Ruby runtime,
BlockCallback blk,
java.lang.String sig) |
private IRubyObject |
SunSignalFacade.trap(Ruby runtime,
java.lang.String signalName,
sun.misc.SignalHandler handler) |
private IRubyObject |
SunSignalFacade.trap(Ruby runtime,
SunSignalFacade.JRubySignalHandler handler) |
private static java.io.File |
ShellLauncher.tryFile(Ruby runtime,
java.lang.String fdir,
java.lang.String fname) |
static RubyArray |
Pack.unpack(Ruby runtime,
org.jruby.util.ByteList encodedString,
org.jruby.util.ByteList formatString)
Decodes str (which may contain binary data) according to the format
string, returning an array of each value extracted.
|
static int |
Pack.utf8Decode(Ruby runtime,
byte[] to,
int p,
int code)
rb_uv_to_utf8
|
| Constructor and Description |
|---|
Args(Ruby runtime,
long value) |
ChannelPumper(Ruby runtime,
java.nio.channels.FileChannel inChannel,
java.nio.channels.FileChannel outChannel,
ShellLauncher.Pumper.Slave slave,
java.lang.Object sync) |
ConvertBytes(Ruby runtime,
org.jruby.util.ByteList _str,
int base,
boolean badcheck) |
ConvertBytes(Ruby runtime,
org.jruby.util.ByteList _str,
int base,
boolean badcheck,
boolean is19) |
JRubyObjectInputStream(Ruby runtime,
java.io.InputStream input) |
JRubySignalHandler(Ruby runtime,
BlockCallback callback,
java.lang.String signal) |
JRubySignalHandler(Ruby runtime,
IRubyObject block,
BlockCallback callback,
java.lang.String signal) |
JRubySignalHandler(Ruby runtime,
IRubyObject block,
java.lang.String signal) |
LaunchConfig(Ruby runtime,
IRubyObject[] rawArgs,
boolean doExecutableSearch) |
POpenProcess(java.lang.Process child,
Ruby runtime,
IOOptions modes)
Deprecated.
|
POpenProcess(java.lang.Process child,
Ruby runtime,
ModeFlags modes) |
ScriptThreadProcess(Ruby parentRuntime,
java.lang.String[] argArray,
java.lang.String[] env,
java.io.File dir) |
ScriptThreadProcess(Ruby parentRuntime,
java.lang.String[] argArray,
java.lang.String[] env,
java.io.File dir,
boolean pipedStreams) |
StreamPumper(Ruby runtime,
java.io.InputStream in,
java.io.OutputStream out,
boolean avail,
ShellLauncher.Pumper.Slave slave,
java.lang.Object sync) |
| Constructor and Description |
|---|
StringArraySet(Ruby runtime) |
| Modifier and Type | Field and Description |
|---|---|
protected Ruby |
Transcoder.runtime |
| Modifier and Type | Method and Description |
|---|---|
static java.nio.charset.Charset |
CharsetTranscoder.transcodeCharsetFor(Ruby runtime,
byte[] name,
org.jcodings.Encoding encoding,
boolean is7Bit) |
| Modifier and Type | Field and Description |
|---|---|
private Ruby |
ChannelStream.runtime |
(package private) Ruby |
SelectBlob.runtime |
| Modifier and Type | Method and Description |
|---|---|
Ruby |
ChannelStream.getRuntime() |
| Modifier and Type | Method and Description |
|---|---|
static java.net.InetAddress |
Sockaddr.addressFromString(Ruby runtime,
java.lang.String s) |
static org.jcodings.Encoding |
EncodingUtils.ascii8bitEncoding(Ruby runtime) |
private static void |
SelectBlob.checkArrayType(Ruby runtime,
IRubyObject obj) |
void |
OpenFile.checkClosed(Ruby runtime) |
void |
OpenFile.checkReadable(Ruby runtime) |
void |
OpenFile.checkWritable(Ruby runtime) |
void |
OpenFile.cleanup(Ruby runtime,
boolean raise) |
private IRubyObject |
SelectBlob.constructResults(Ruby runtime) |
static org.jcodings.Encoding |
EncodingUtils.defaultExternalEncoding(Ruby runtime) |
private void |
SelectBlob.doSelect(Ruby runtime,
boolean has_timeout,
long timeout) |
static void |
EncodingUtils.encCrStrBufCat(Ruby runtime,
RubyString str,
org.jruby.util.ByteList ptr,
org.jcodings.Encoding ptrEnc,
int ptr_cr,
int[] ptr_cr_ret) |
static void |
EncodingUtils.encStrBufCat(Ruby runtime,
RubyString str,
org.jruby.util.ByteList ptr,
org.jcodings.Encoding enc) |
static void |
EncodingUtils.extractBinmode(Ruby runtime,
IRubyObject optionsArg,
int[] fmode_p) |
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes) |
static Stream |
ChannelStream.fdopen(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
boolean autoclose) |
void |
OpenFile.finalize(Ruby runtime,
boolean raise) |
void |
OpenFile.Finalizer.finalize(Ruby runtime,
boolean raise) |
static Stream |
ChannelStream.fopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
void |
CRLFStreamWrapper.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
void |
ChannelStream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
void |
Stream.freopen(Ruby runtime,
java.lang.String path,
ModeFlags modes) |
java.lang.String |
OpenFile.getModeAsString(Ruby runtime) |
static int |
ModeFlags.getOFlagsFromString(Ruby runtime,
java.lang.String modesString) |
private static long |
SelectBlob.getTimeoutFromArg(IRubyObject timeArg,
Ruby runtime) |
IRubyObject |
SelectBlob.goForIt(ThreadContext context,
Ruby runtime,
IRubyObject[] args) |
private static IRubyObject |
EncodingUtils.hashARef(Ruby runtime,
IRubyObject hash,
java.lang.String symbol) |
static int |
OpenFile.ioModestrFmode(Ruby runtime,
java.lang.String modesString) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor) |
static Stream |
ChannelStream.open(Ruby runtime,
ChannelDescriptor descriptor,
boolean autoclose) |
static IRubyObject[] |
EncodingUtils.openArgsToArgs(Ruby runtime,
IRubyObject firstElement,
RubyHash options) |
static java.nio.channels.Selector |
SelectorFactory.openWithRetryFrom(Ruby runtime,
java.nio.channels.spi.SelectorProvider provider) |
private void |
SelectBlob.processReads(Ruby runtime,
IRubyObject[] args,
ThreadContext context) |
private void |
SelectBlob.processSelectedKeys(Ruby runtime) |
private void |
SelectBlob.processWrites(Ruby runtime,
IRubyObject[] args,
ThreadContext context) |
static void |
EncodingUtils.rbStrBufCat(Ruby runtime,
RubyString str,
org.jruby.util.ByteList ptr) |
private static java.lang.RuntimeException |
Sockaddr.sockerr(Ruby runtime,
java.lang.String msg) |
static void |
EncodingUtils.strBufCat(Ruby runtime,
RubyString str,
org.jruby.util.ByteList ptr) |
static java.lang.String |
Sockaddr.stringFromAddress(Ruby runtime,
java.net.InetAddress as) |
static void |
Sockaddr.validateSockaddr(Ruby runtime,
org.jruby.util.ByteList val) |
| Constructor and Description |
|---|
ChannelStream(Ruby runtime,
ChannelDescriptor descriptor,
boolean autoclose) |
ChannelStream(Ruby runtime,
ChannelDescriptor descriptor,
ModeFlags modes,
boolean autoclose) |
IOOptions(Ruby runtime,
java.lang.String modeString)
Construct a new ModeFlags object by parsing the given string
|