Uses of Class
org.jruby.Ruby
Packages that use Ruby
Package
Description
The profile package contains the api to implement an profiler for jruby.
This package contains the implementation of
ProfilingService and all related
classes will be used for all profiling methods which are shipped with jruby.-
Uses of Ruby in org.jruby
Modifier and TypeFieldDescriptionprivate static RubyRuby.globalRuntimeThe "global" runtime.private final RubyRubyArgsFile.ArgsFileAccessor.runtimeprivate final RubyRubyArgsFile.ArgsFileData.runtimeprotected final RubyRubyClass.runtimeprivate final RubyRubyEnumerable.ChunkedBlockCallback.runtimeprivate final RubyRubyGlobal.PidAccessor.runtimeprivate final RubyRubyHash.ConvertingEntry.runtimeprivate final RubyRubySymbol.SymbolTable.runtimeModifier and TypeFieldDescriptionprivate static final ThreadLocal<Ruby>Ruby.threadLocalRuntimeThe "thread local" runtime.Modifier and TypeMethodDescriptionfinal RubyRubyClass.getClassRuntime()static RubyRuby.getCurrentInstance()Deprecated.static RubyRuby.getDefaultInstance()Deprecated.use #newInstance()static RubyRuby.getGlobalRuntime()Get the global runtime.static RubyBasicObjectStub.getRuntime(IRubyObject self) final RubyRubyBasicObject.getRuntime()Will return the runtime that this object is associated with.static RubyRuby.getThreadLocalRuntime()Get the thread-local runtime for the current thread, or null if unset.static RubyRuby.newInstance()Returns a new instance of the JRuby runtime configured with defaults.static RubyRuby.newInstance(InputStream in, PrintStream out, 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 RubyRuby.newInstance(RubyInstanceConfig config) Returns a new instance of the JRuby runtime configured as specified.Modifier and TypeMethodDescriptionprivate booleanRubyThread.abortOnException(Ruby runtime) protected voidRubyModule.addMethodSymbols(Ruby runtime, Set<String> seen, RubyArray ary, boolean not, Visibility visibility) voidRuby.ObjectSpacer.addToObjectSpace(Ruby runtime, boolean useObjectSpace, IRubyObject object) (package private) static StringRubyFile.adjustRootPathOnWindows(Ruby runtime, String path, String dir) private RubyTimeRubyTime.adjustTimeZone(Ruby runtime, org.joda.time.DateTimeZone zone, boolean isTzRelative) static RubyThreadRubyThread.adopt(Ruby runtime, ThreadService service, Thread thread) private static RubyThreadRubyThread.adoptThread(Ruby runtime, ThreadService service, RubyClass recv, Thread thread) private static RubyRegexpRubyString.asRegexpArg(Ruby runtime, IRubyObject arg0) private static RubyArrayRubyDir.asRubyStringList(Ruby runtime, List<ByteList> dirs) booleanRubyModule.autoloadingValue(Ruby runtime, String name) private RubyArraystatic intRubyMatchData.backrefNumber(Ruby runtime, org.joni.Regex pattern, org.joni.Region regs, IRubyObject obj) final intRubyMatchData.backrefNumber(Ruby runtime, IRubyObject obj) static longRubyBignum.big2ulong(Ruby runtime, BigInteger big) private static longRubyBignum.bigHash(Ruby runtime, BigInteger value) static RubyIntegerRubyBignum.bignorm(Ruby runtime, BigInteger bi) rb_big_normprivate IRubyObjectRubyString.byteARef(Ruby runtime, IRubyObject idx) private IRubyObjectRubyString.byteSubstr(Ruby runtime, int beg, int len) private static RubyFixnumRubyFixnum.cachedFixnum(Ruby runtime, long value) RubyStruct.HashRecursive.call(ThreadContext context, Ruby runtime, IRubyObject obj, boolean recur) static IRubyObjectRubyEnumerable.callEach(Ruby runtime, ThreadContext context, IRubyObject self, BlockCallback callback) Deprecated.static IRubyObjectRubyEnumerable.callEach(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject[] args, BlockCallback callback) Deprecated.static IRubyObjectRubyEnumerable.callEach(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject[] args, Signature signature, BlockCallback callback) Deprecated.static IRubyObjectRubyEnumerable.callEach19(Ruby runtime, ThreadContext context, IRubyObject self, BlockCallback callback) Deprecated.static IRubyObjectRubyEnumerable.callEach19(Ruby runtime, ThreadContext context, IRubyObject self, Signature signature, BlockCallback callback) Deprecated.private voidRubyEnumerable.PutKeyValueCallback.callImpl(Ruby runtime, IRubyObject value) private intprivate voidRubyModule.checkAliasFrameAccesses(Ruby runtime, String id, String newName, DynamicMethod method) private RubyStringRubyModule.checkAutoloadRequired(Ruby runtime, String name, String[] autoloadPath) private static voidRubyDir.checkDirIsTwoSlashesOnWindows(Ruby runtime, String path) static org.jcodings.EncodingRubyString.checkEncoding(Ruby runtime, ByteList str1, ByteList str2) private static intRubyProcess.checkErrno(Ruby runtime, int result) private static longRubyProcess.checkErrno(Ruby runtime, long result, RubyProcess.NonNativeErrno nonNative) private booleanMain.checkFileSyntax(Ruby runtime, String filename) static intcheck_intprivate static voidRubyNumeric.checkIntFail(Ruby runtime, long num) protected static final voidRubyArray.checkLength(Ruby runtime, long length) private voidRubyIO.checkReopenCloexecDup2(Ruby runtime, OpenFile orig, ChannelFD oldfd, ChannelFD newfd) private booleanMain.checkStreamSyntax(Ruby runtime, InputStream in, String filename) private IRubyObjectRubyString.chompBangCommon(Ruby runtime, IRubyObject rsObj) static ChannelFDRubyIO.cloexecOpen(Ruby runtime, RubyIO.Sysopen data) private IRubyObjectRubyArray.cmpCommon(ThreadContext context, Ruby runtime, RubyArray ary2) private static RubyArrayRubyNumeric.coerceResult(Ruby runtime, IRubyObject result, boolean err) static IRubyObjectRubyEnumerable.collectCommon(ThreadContext context, Ruby runtime, IRubyObject self, RubyArray result, Block block, BlockCallback blockCallback) Deprecated.private voidprivate RubyStringRubyString.concatNumeric(Ruby runtime, int c) private static RuntimeExceptionRubyArray.concurrentModification(Ruby runtime, Exception cause) RubyModule.constantsCommon(Ruby runtime, boolean replaceModule, boolean allConstants) rb_mod_constantsRubyModule.constantsCommon(Ruby runtime, boolean replaceModule, boolean allConstants, boolean includePrivate) private booleanRubyModule.constDefined(Ruby runtime, IRubyObject name, boolean inherit) abstract ObjectRubyHash.EntryView.convertEntry(Ruby runtime, RubyHash.RubyHashEntry value) static RubyClassRubyArithmeticSequence.createArithmeticSequenceClass(Ruby runtime, RubyClass enumeratorModule) static RubyClassRubyArray.createArrayClass(Ruby runtime) static RubyClassRubyBasicObject.createBasicObjectClass(Ruby runtime, RubyClass objectClass) Will create the Ruby class Object in the runtime specified.static RubyClassRubyBignum.createBignumClass(Ruby runtime) static RubyClassRubyBinding.createBindingClass(Ruby runtime) static RubyClassRubyClass.createBootstrapClass(Ruby runtime, String name, RubyClass superClass, ObjectAllocator allocator) boot_defclass Create an initial Object meta class before Module and Kernel dependencies have squirreled themselves together.static RubyClassRubyChain.createChainClass(Ruby runtime, RubyClass enumeratorModule) static RubyClassNativeException.createClass(Ruby runtime, RubyClass baseClass) Deprecated.static voidRubyClass.createClassClass(Ruby runtime, RubyClass classClass) static voidRubyClassPathVariable.createClassPathVariable(Ruby runtime) static RubyModuleRubyComparable.createComparable(Ruby runtime) static RubyClassRubyComplex.createComplexClass(Ruby runtime) static RubyClassRubyContinuation.createContinuation(Ruby runtime) Deprecated.static RubyClassRubyConverter.createConverterClass(Ruby runtime) static RubyClassRubyDir.createDirClass(Ruby runtime) static RubyClassRubyEncoding.createEncodingClass(Ruby runtime) static RubyModuleRubyEnumerable.createEnumerableModule(Ruby runtime) static RubyClassRubyException.createExceptionClass(Ruby runtime) static RubyClassRubyBoolean.createFalseClass(Ruby runtime) static RubyClassRubyFile.createFileClass(Ruby runtime) static RubyClassRubyFileStat.createFileStatClass(Ruby runtime) static RubyModuleRubyFileTest.createFileTestModule(Ruby runtime) static RubyClassRubyFixnum.createFixnumClass(Ruby runtime) static RubyClassRubyFloat.createFloatClass(Ruby runtime) static RubyModuleRubyGC.createGCModule(Ruby runtime) static RubyClassRubyGenerator.createGeneratorClass(Ruby runtime, RubyClass enumeratorModule) static voidRubyGlobal.createGlobals(Ruby runtime) static RubyClassRubyHash.createHashClass(Ruby runtime) static RubyClassRubyInteger.createIntegerClass(Ruby runtime) static RubyClassRubyIO.createIOClass(Ruby runtime) static RubyModuleRubyKernel.createKernelModule(Ruby runtime) RubyInstanceConfig.createLoadService(Ruby runtime) static RubyModuleRubyMarshal.createMarshalModule(Ruby runtime) static RubyClassRubyMatchData.createMatchDataClass(Ruby runtime) static RubyModuleRubyMath.createMathModule(Ruby runtime) Create the Math module and add it to the Ruby runtime.static RubyClassRubyMethod.createMethodClass(Ruby runtime) Create the RubyMethod class and add it to the Ruby runtime.static RubyClassRubyModule.createModuleClass(Ruby runtime, RubyClass moduleClass) static RubyClassRubyNil.createNilClass(Ruby runtime) static RubyClassRubyNumeric.createNumericClass(Ruby runtime) static RubyClassRubyObject.createObjectClass(Ruby runtime, RubyClass objectClass) Will create the Ruby class Object in the runtime specified.static RubyModuleRubyObjectSpace.createObjectSpaceModule(Ruby runtime) Create the ObjectSpace module and add it to the Ruby runtime.static RubyClassRubyProc.createProcClass(Ruby runtime) static RubyModuleRubyProcess.createProcessModule(Ruby runtime) private DynamicMethodRubyModule.createProcMethod(Ruby runtime, String name, Visibility visibility, Block block) static RubyClassRubyRandom.createRandomClass(Ruby runtime) static RubyClassRubyRange.createRangeClass(Ruby runtime) static RubyClassRubyRational.createRationalClass(Ruby runtime) static RubyClassRubyRegexp.createRegexpClass(Ruby runtime) static voidRubySignal.createSignal(Ruby runtime) static RubyClassRubyString.createStringClass(Ruby runtime) static RubyClassRubyStruct.createStructClass(Ruby runtime) static RubyClassRubySymbol.createSymbolClass(Ruby runtime) static RubyClassRubyThread.createThreadClass(Ruby runtime) static RubyClassRubyThreadGroup.createThreadGroupClass(Ruby runtime) static RubyClassRubyTime.createTimeClass(Ruby runtime) static IRubyObjectTopSelfFactory.createTopSelf(Ruby runtime) static IRubyObjectTopSelfFactory.createTopSelf(Ruby runtime, boolean wrapper) static RubyClassRubyBoolean.createTrueClass(Ruby runtime) (package private) static voidRubyObjectSpace.WeakMap.createWeakMap(Ruby runtime, RubyModule objectspaceModule) static RubyClassRubyYielder.createYielderClass(Ruby runtime) static IRubyObjectrb_dbl_cmp (numeric.c)static RubyIntegerMRI: macro DBL2IVALstatic IRubyObjectMRI: macro DBL2NUMprivate CacheEntryRubyModule.deepMethodSearch(String id, Ruby runtime) (package private) static RubyClass(package private) static RubyClass(package private) static RubyClassRubyDomainError.define(Ruby runtime, RubyClass superClass, RubyModule under) (package private) static RubyClass(package private) static RubyClassRubyEncodingError.RubyCompatibilityError.define(Ruby runtime, RubyClass exceptionClass, RubyModule under) (package private) static RubyClassRubyEncodingError.RubyConverterNotFoundError.define(Ruby runtime, RubyClass exceptionClass, RubyModule under) (package private) static RubyClassRubyEncodingError.RubyInvalidByteSequenceError.define(Ruby runtime, RubyClass exceptionClass, RubyModule under) (package private) static RubyClassRubyEncodingError.RubyUndefinedConversionError.define(Ruby runtime, RubyClass exceptionClass, RubyModule under) (package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClassstatic RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClassstatic RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClass(package private) static RubyClassstatic RubyClassRubyEnumerator.defineEnumerator(Ruby runtime, RubyModule Enumerable) private static voidRubyGlobal.defineGlobalEnvConstants(Ruby runtime) static RubyClassRubyUnboundMethod.defineUnboundMethodClass(Ruby runtime) voidRubyModule.deprecateConstant(Ruby runtime, String name) static IRubyObjectRubyFileTest.directory_p(Ruby ruby, IRubyObject filename) private static StringRubyDir.dirFromPath(String path, Ruby runtime) private RubyIntegerRubyBignum.divideImpl(Ruby runtime, BigInteger otherValue) private Main.StatusMain.doCheckSyntax(Ruby runtime, InputStream in, String filename) private voidMain.doRunFromMain(Ruby runtime, InputStream in, String filename) private voidMain.doSetContextClassLoader(Ruby runtime) private static IRubyObject[]RubyKernel.dropLastArgIfOptions(Ruby runtime, IRubyObject[] args) private static booleanRubyMarshal.dumpToStream(Ruby runtime, IRubyObject object, OutputStream rawOutput, int depthLimit) protected RubyArraystatic IRubyObjectstatic IRubyObjectRubyProcess.egid_set(Ruby runtime, IRubyObject arg) static IRubyObjectstatic IRubyObjectRubyProcess.GroupID.eid(Ruby runtime, IRubyObject arg) static IRubyObjectRubyProcess.UserID.eid(Ruby runtime, IRubyObject arg) private static voidRubyGC.emptyImplementationWarning(Ruby runtime, IRubyWarnings.ID id, String name) private static voidRubyRegexp.encodingMatchError(Ruby runtime, org.joni.Regex pattern, org.jcodings.Encoding strEnc) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, RubyClass type, IRubyObject object, String method) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, RubyClass type, IRubyObject object, String method, IRubyObject arg) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, RubyClass type, IRubyObject object, String method, IRubyObject[] args) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, IRubyObject object, String method) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, IRubyObject object, String method, IRubyObject arg) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, IRubyObject object, String method, IRubyObject... args) static IRubyObjectstatic IRubyObjectRubyProcess.euid_set(Ruby runtime, IRubyObject arg) private static voidRubyKernel.exit(Ruby runtime, IRubyObject[] args, boolean hard) static voidRubyIO.failIfDirectory(Ruby runtime, RubyString pathStr) final voidRubyHash.fastASet(Ruby runtime, IRubyObject key, IRubyObject value, boolean prepareString) final voidRubyHash.fastASetCheckString(Ruby runtime, IRubyObject key, IRubyObject value) final voidRubyHash.fastASetCheckString19(Ruby runtime, IRubyObject key, IRubyObject value) Deprecated.final voidRubyHash.fastASetSmall(Ruby runtime, IRubyObject key, IRubyObject value, boolean prepareString) final voidRubyHash.fastASetSmallCheckString(Ruby runtime, IRubyObject key, IRubyObject value) final voidRubyHash.fastASetSmallCheckString19(Ruby runtime, IRubyObject key, IRubyObject value) Deprecated.private RubyFloatRubyBignum.fdivInt(Ruby runtime, BigDecimal y) static RubyFixnumstatic booleanprivate static longprivate static voidRubyNumeric.fixnumStep(ThreadContext context, Ruby runtime, RubyFixnum from, IRubyObject to, RubyFixnum step, boolean inf, boolean desc, Block block) private voidRubyRange.fixnumStep(ThreadContext context, Ruby runtime, long step, Block block) private static long(package private) static voidRubyNumeric.floatStep(ThreadContext context, Ruby runtime, IRubyObject from, IRubyObject to, IRubyObject step, boolean excl, boolean allowEndless, Block block) static RubyFixnumRubyException.Backtrace.generateBacktrace(Ruby runtime) Generate a new backtrace (or returns nil if no backtrace data exists).private IRubyObjectRubyThread.genericKill(Ruby runtime, RubyThread currentThread) static RubyArgsFile.ArgsFileDataRubyArgsFile.ArgsFileData.getArgsFileData(Ruby runtime) protected static List<RubyString>RubyDir.getContents(FileResource directory, Ruby runtime) Deprecated.no longer usedprivate static Stringprotected static FileResourceReturns a JavaFileobject for the specified path.protected static JRubyFileRubyDir.getDirForRmdir(Ruby runtime, String path) Similar to getDir, but performs different checks to match rmdir behavior.static StringRubyTime.getEnvTimeZone(Ruby runtime) private static FileResourceRubyDir.getExistingDir(Ruby runtime, String path) RubyDir.getHomeFromEnv(Ruby runtime) static ModeFlagsRubyIO.getIOModes(Ruby runtime, String modesString) Deprecated.static intRubyIO.getIOModesIntFromString(Ruby runtime, String modesString) Deprecated.private static RubyStringRubyKernel.getLastlineString(ThreadContext context, Ruby runtime) Returns value of $_.Deprecated.Deprecated.static org.joda.time.DateTimeZoneRubyTime.getLocalTimeZone(Ruby runtime) RubyMatchData.getNamedBackrefValues(Ruby runtime) private static RubyRegexpRubyString.getPattern(Ruby runtime, IRubyObject obj) get_pat (used by match/match19)static IRubyObjectRubyProcess.getpgid(Ruby runtime, IRubyObject arg) static IRubyObjectprivate static org.joni.RegexRubyRegexp.getPreprocessedRegexpFromCache(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, RegexpSupport.ErrorMode mode) static IRubyObjectRubyProcess.getpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2) (package private) static org.joni.RegexRubyRegexp.getQuotedRegexpFromCache(Ruby runtime, RubyString str, RegexpOptions options) static org.joni.RegexRubyRegexp.getRegexpFromCache(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options) private static longRubyProcess.getResolutionForClock(IRubyObject _clock_id, Ruby runtime) Get the time resolution in nanoseconds corresponding to the requested clock.static IRubyObjectRubyProcess.getrlimit(Ruby runtime, IRubyObject arg) static StringRubyTime.getRubyTimeZoneName(Ruby runtime, org.joda.time.DateTime dt) private static RubyStringRubyString.getStringForPattern(Ruby runtime, IRubyObject obj) static RubySymbolRubySymbol.getSymbolLong(Ruby runtime, long id) private static longRubyProcess.getTimeForClock(IRubyObject _clock_id, Ruby runtime) Get the time in nanoseconds corresponding to the requested clock.static org.joda.time.DateTimeZoneRubyTime.getTimeZone(Ruby runtime, long seconds) private static org.joda.time.DateTimeZoneRubyTime.getTimeZoneFromHHMM(Ruby runtime, String name, boolean positive, String hours, String minutes, String seconds) static org.joda.time.DateTimeZoneRubyTime.getTimeZoneFromString(Ruby runtime, String zone) static org.joda.time.DateTimeZoneRubyTime.getTimeZoneFromTZString(Ruby runtime, String zone) static org.joda.time.DateTimeZoneRubyTime.getTimeZoneWithOffset(Ruby runtime, String zoneName, int offset) static IRubyObjectstatic IRubyObjectRubyProcess.gid_set(Ruby runtime, IRubyObject arg) intprivate static RubyStringRubyHash.hashKeyString(Ruby runtime, RubyString key) private static longRubyThread.incAndGetThreadCount(Ruby runtime) static voidRubyArgsFile.initArgsFile(Ruby runtime) static voidprivate IRubyObjectRubyEnumerator.initialize(Ruby runtime, IRubyObject object, IRubyObject method, IRubyObject[] methodArgs) private IRubyObjectRubyEnumerator.initialize(Ruby runtime, IRubyObject object, IRubyObject method, IRubyObject[] methodArgs, IRubyObject size, RubyEnumerator.SizeFn sizeFn) static voidRubyGlobal.initSTDIO(Ruby runtime, GlobalVariables globals) private static voidRubyThread.initThreadName(Ruby runtime, Thread thread, String file, int line) (package private) static RubyString(package private) final RubyStringstatic RubyString(package private) final RubyStringstatic IRubyObjectDeprecated.private RubyStringRubyRational.inspectImpl(Ruby runtime) private RubyStringRubyBasicObject.inspectObj(Ruby runtime, RubyString part) inspect_obj The internal helper method that takes care of the part of the inspection that inspects instance variables.static RubyNumericprivate static final IRubyObjectRubyString.invalidFormat(Ruby runtime) static RaiseExceptionRubyTime.invalidUTCOffset(Ruby runtime) private IRubyObjectRubyIO.ioWriteNonblock(ThreadContext context, Ruby runtime, IRubyObject str, boolean no_exception) booleanIs this a "bare" string, i.e.private booleanRubySymbol.isPrintable(Ruby runtime) private booleanRubyModule.isReifiable(Ruby runtime, RubyClass superClass) Determine if a new child of the given class can have its variables reified.private static RubyArrayNativeException.joinedBacktrace(Ruby runtime, RubyArray rTrace, StackTraceElement[] jTrace) Deprecated.private IRubyObjectRubyString.justify(Ruby runtime, IRubyObject arg0, int jflag) private RubyStringRubyString.justifyCommon(Ruby runtime, ByteList pad, int padCharLen, boolean padSinglebyte, org.jcodings.Encoding enc, int width, int jflag) static IRubyObjectRubyProcess.kill(Ruby runtime, IRubyObject[] args) private voidvoidDeprecated.private static IRubyObjectRubyKernel.loadCommon(Ruby runtime, RubyString path, boolean wrap, Block block) private static voidMetaClass.logSingleton(Ruby runtime, RubyClass superClass, RubyBasicObject attached) private static IRubyObjectRubyProcess.makeClockResolutionResult(Ruby runtime, long nanos, String unit) private static IRubyObjectRubyProcess.makeClockResult(Ruby runtime, long nanos, String unit) private RubyHashary_make_hashprivate static org.joni.RegexRubyRegexp.makeRegexp(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) private static RubyStringRubyMatchData.makeShared(Ruby runtime, RubyString str, int index, int length) final RubyStringRubyString.makeShared(Ruby runtime, int index, int len) final RubyStringRubyString.makeShared(Ruby runtime, RubyClass meta, int index, int len) private RubyStringRubyString.makeShared(Ruby runtime, RubyClass meta, ByteList value, int index, int len) private RubyStringRubyString.makeShared(Ruby runtime, ByteList value, int index, int len) final RubyStringRubyString.makeShared19(Ruby runtime, int index, int len) Deprecated.final RubyStringRubyString.makeShared19(Ruby runtime, RubyClass meta, int index, int len) Deprecated.final RubyStringRubyString.makeSharedString(Ruby runtime, int index, int len) final RubyStringRubyString.makeSharedString19(Ruby runtime, int index, int len) Deprecated.private RubyArrayRubyMatchData.match_array(Ruby runtime, int start) static intRubyRegexp.matcherMatch(Ruby runtime, org.joni.Matcher matcher, int start, int range, int option) Deprecated.static intRubyRegexp.matcherSearch(Ruby runtime, org.joni.Matcher matcher, int start, int range, int option) Deprecated.private static voidRubyKernel.maybeRaiseJavaException(Ruby runtime, IRubyObject[] args, int argc, IRubyObject cause) private RubyStringstatic RubyFixnumprivate static IRubyObjectRubyDir.mkdirCommon(Ruby runtime, String path, IRubyObject[] args) private IRubyObjectRubyString.multibyteSubstr19(Ruby runtime, org.jcodings.Encoding enc, int len, int beg, int length) private intRubyMatchData.nameToBackrefError(Ruby runtime, String name) private static intRubyMatchData.nameToBackrefNumber(Ruby runtime, org.joni.Regex pattern, org.joni.Region regs, ByteListHolder str) private static RubyInteger(package private) static RubyFloatRubyKernel.new_float(Ruby runtime, RubyInteger num) static RubyFloatRubyKernel.new_float(Ruby runtime, IRubyObject object) static RubyStringRubyString.newAllocatedString(Ruby runtime, RubyClass metaClass) static final RubyArrayrb_ary_newstatic final RubyArraystatic final RubyArrayrb_ary_new2static RubyArrayRubyArray.newArray(Ruby runtime, Collection<? extends IRubyObject> collection) static RubyArrayRubyArray.newArray(Ruby runtime, List<? extends IRubyObject> list) static RubyArrayRubyArray.newArray(Ruby runtime, IRubyObject obj) static RubyArrayRubyArray.newArray(Ruby runtime, IRubyObject[] args) rb_ary_new4, rb_ary_new3static RubyArrayRubyArray.newArray(Ruby runtime, IRubyObject car, IRubyObject cdr) rb_assoc_newstatic RubyArrayRubyArray.newArray(Ruby runtime, IRubyObject first, IRubyObject second, IRubyObject third) static RubyArrayRubyArray.newArray(Ruby runtime, IRubyObject first, IRubyObject second, IRubyObject third, IRubyObject fourth) static final RubyArrayRubyArray.newArrayLight(Ruby runtime) rb_ary_newstatic final RubyArrayRubyArray.newArrayLight(Ruby runtime, int len) static final RubyArrayRubyArray.newArrayLight(Ruby runtime, long len) static RubyArrayRubyArray.newArrayLight(Ruby runtime, IRubyObject obj) static RubyArrayRubyArray.newArrayLight(Ruby runtime, IRubyObject... objs) static RubyArrayRubyArray.newArrayLight(Ruby runtime, IRubyObject car, IRubyObject cdr) static RubyArrayRubyArray.newArrayMayCopy(Ruby runtime, IRubyObject... args) static RubyArrayRubyArray.newArrayMayCopy(Ruby runtime, IRubyObject[] args, int start) static RubyArrayRubyArray.newArrayMayCopy(Ruby runtime, IRubyObject[] args, int start, int length) Construct a new RubyArray given the specified range of elements in the source array.static RubyArrayRubyArray.newArrayNoCopy(Ruby runtime, IRubyObject... args) static RubyArrayRubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args, int begin) static RubyArrayRubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args, int begin, int length) static RubyArrayRubyArray.newArrayNoCopyLight(Ruby runtime, IRubyObject[] args) static RubyIntegerRubyBignum.newBignorm(Ruby runtime, double value) Return a Bignum or Fixnum (Integer) for the given value, or raise FloatDomainError if it is out of range.static RubyBignumReturn a Bignum for the given value, or raise FloatDomainError if it is out of range.static RubyBignumstatic RubyBignumstatic RubyBignumRubyBignum.newBignum(Ruby runtime, BigInteger value) static RubyStringRubyString.newBinaryString(Ruby runtime, String str) static RubyStringRubyString.newBinaryString(Ruby runtime, ByteList str) static RubyBindingRubyBinding.newBinding(Ruby runtime) Deprecated.static RubyBindingRubyBinding.newBinding(Ruby runtime, Binding binding) static RubyBindingRubyBinding.newBinding(Ruby runtime, IRubyObject self) Deprecated.static RubyArrayRubyArray.newBlankArray(Ruby runtime, int size) Construct the most efficient array shape for the given size.(package private) static RubyArrayRubyArray.newBlankArrayInternal(Ruby runtime, int size) (package private) static RubyArrayRubyArray.newBlankArrayInternal(Ruby runtime, RubyClass metaClass, int size) static RubyBooleanRubyBoolean.newBoolean(Ruby runtime, boolean value) static RubyClassConstruct a new class with the given name scoped under Object (global) and with Object as its immediate superclass.static RubyClassRubyClass.newClass(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent) Construct a new class with the given name, allocator, parent class, and containing class.static RubyClassRubyClass.newClass(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, CallSite[] extraCallSites) A variation on newClass that allows passing in an array of supplementary call sites to improve dynamic invocation performance.static RubyClassA variation on newClass that allow passing in an array of supplementary call sites to improve dynamic invocation.static RubyComplexRubyComplex.newComplexRaw(Ruby runtime, IRubyObject x) rb_complex_raw1static RubyComplexRubyComplex.newComplexRaw(Ruby runtime, IRubyObject x, IRubyObject y) rb_complex_rawstatic RubyComplexRubyComplex.newComplexRawImage(Ruby runtime, IRubyObject image) static RubySymbolRubySymbol.newConstantSymbol(Ruby runtime, IRubyObject fqn, ByteList bytes) Create a symbol whose intention is to be used as a constant.static RubyRegexpRubyRegexp.newDRegexp(Ruby runtime, RubyString pattern, int joniOptions) static RubyRegexpRubyRegexp.newDRegexp(Ruby runtime, RubyString pattern, RegexpOptions options) (package private) static RubyRegexpRubyRegexp.newDummyRegexp(Ruby runtime, org.joni.Regex regex) static RubyArrayRubyArray.newEmptyArray(Ruby runtime) static RubyArrayRubyArray.newEmptyArray(Ruby runtime, RubyClass klass) static RubyStringRubyString.newEmptyString(Ruby runtime) static RubyStringRubyString.newEmptyString(Ruby runtime, org.jcodings.Encoding enc) static RubyStringRubyString.newEmptyString(Ruby runtime, RubyClass metaClass) static RubyStringRubyString.newEmptyString(Ruby runtime, RubyClass metaClass, org.jcodings.Encoding enc) static RubyEncodingRubyEncoding.newEncoding(Ruby runtime, byte[] name, int p, int end, boolean isDummy) private static RubyArrayRubyDir.newEntryArray(Ruby runtime, String[] files, org.jcodings.Encoding encoding, boolean childrenOnly) static RubyExceptionRubyException.newException(Ruby runtime, RubyClass exceptionClass, String msg) static RubyStringRubyString.newExternalStringWithEncoding(Ruby runtime, String string, org.jcodings.Encoding encoding) Deprecated.static RubyFileStatRubyFileStat.newFileStat(Ruby runtime, int fileno) static RubyFileStatRubyFileStat.newFileStat(Ruby runtime, FileDescriptor descriptor) static RubyFileStatRubyFileStat.newFileStat(Ruby runtime, String filename, boolean lstat) private static RubyStringRubyDir.newFilesystemString(Ruby runtime, String home) static RubyFixnumstatic RubyFloatstatic RubySymbolRubySymbol.newHardSymbol(Ruby runtime, String name) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, String name, org.jcodings.Encoding encoding) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, IRubyObject name) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) static final RubyHashrb_hash_newstatic final RubyHashRubyHash.newHash(Ruby runtime, Map valueMap, IRubyObject defaultValue) rb_hash_newstatic RubyHashRubyHash.newHash(Ruby runtime, IRubyObject key, IRubyObject value) static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes) Generic identifier symbol creation (or retrieval) method.static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Generic identifier symbol creation (or retrieval) method that invokes a handler before storing new symbols.static RubySystemExitRubySystemExit.newInstance(Ruby runtime, int status, String message) static RubyStringRubyString.newInternalFromJavaExternal(Ruby runtime, 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 RubyIOstatic IOOptionsRubyIO.newIOOptions(Ruby runtime, int mode) static IOOptionsRubyIO.newIOOptions(Ruby runtime, long mode) static IOOptionsRubyIO.newIOOptions(Ruby runtime, String mode) static IOOptionsRubyIO.newIOOptions(Ruby runtime, IOOptions oldFlags, int orOflags) static IOOptionsRubyIO.newIOOptions(Ruby runtime, ModeFlags modeFlags) static RubyHashRubyHash.newKwargs(Ruby runtime, String key, IRubyObject value) static RubyArrayRubyThread.Location.newLocationArray(Ruby runtime, RubyStackTraceElement[] elements) static RubyArrayRubyThread.Location.newLocationArray(Ruby runtime, RubyStackTraceElement[] elements, int offset, int length) static ModeFlagsRubyIO.newModeFlags(Ruby runtime, int mode) static ModeFlagsRubyIO.newModeFlags(Ruby runtime, long mode) static ModeFlagsRubyIO.newModeFlags(Ruby runtime, String mode) static RubyModulerb_module_newstatic RubyModuleRubyModule.newModule(Ruby runtime, String name, RubyModule parent, boolean setParent) rb_module_new/rb_define_module_id/rb_name_class/rb_set_class_pathstatic RubyNumericRubyNumeric.newNumeric(Ruby runtime) static RubyProcRubyProc.newProc(Ruby runtime, Block.Type type) Deprecated.static RubyProcRubyProc.newProc(Ruby runtime, Block block, Block.Type type) static RubyProcRubyProc.newProc(Ruby runtime, Block block, Block.Type type, String file, int line) static RubyProcRubyProc.newProc(Ruby runtime, Block block, Block.Type type, ISourcePosition sourcePosition) Deprecated.static RubyProcess.RubyStatusRubyProcess.RubyStatus.newProcessStatus(Ruby runtime, long status, long pid) static RubyRationalRubyRational.newRational(Ruby runtime, long x, long y) (package private) static RubyRationalRubyRational.newRational(Ruby runtime, RubyClass clazz, IRubyObject x, IRubyObject y) (package private) static RubyRationalRubyRational.newRationalRaw(Ruby runtime, IRubyObject x) rb_rational_raw1static RubyRationalRubyRational.newRationalRaw(Ruby runtime, IRubyObject x, IRubyObject y) rb_rational_rawstatic RubyRegexpRubyRegexp.newRegexp(Ruby runtime, String pattern, RegexpOptions options) static RubyRegexpstatic RubyRegexp(package private) static RubyRegexpstatic RubyRegexpRubyRegexp.newRegexp(Ruby runtime, ByteList pattern, RegexpOptions options) static RubyRegexpRubyRegexp.newRegexpFromStr(Ruby runtime, RubyString s, int options) static RubyRegexpRubyRegexp.newRegexpParser(Ruby runtime, ByteList pattern, RegexpOptions options) throws RaiseException on error so parser can pick this up and give proper line and line number error as opposed to any non-literal regexp creation which may raise a syntax error but will not have this extra source info in the error messageprivate RubyStringstatic final RubyHashRubyHash.newSmallHash(Ruby runtime) rb_hash_new(package private) static RubyStringstatic RubyStringstatic RubyStringstatic RubyStringRubyString.newString(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyStringRubyString.newString(Ruby runtime, CharSequence str) static RubyStringRubyString.newString(Ruby runtime, CharSequence str, org.jcodings.Encoding encoding) static RubyStringstatic RubyStringstatic RubyStringRubyString.newString(Ruby runtime, RubyClass clazz, CharSequence str) Deprecated.static RubyStringstatic RubyStringstatic RubyStringstatic RubyStringRubyString.newStringLight(Ruby runtime, int size) static RubyStringRubyString.newStringLight(Ruby runtime, int size, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringLight(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, byte[] bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, byte[] bytes, int start, int length) static RubyStringRubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyStringRubyString.newStringNoCopy(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes) static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes, int start, int length) static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringShared(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyStringRubyString.newStringShared(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringShared(Ruby runtime, RubyString orig) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes, int codeRange) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes, org.jcodings.Encoding encoding) private static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes, org.jcodings.Encoding encoding, int cr) static RubySymbolstatic RubySymbolstatic RubySymbolRubySymbol.newSymbol(Ruby runtime, IRubyObject name) Deprecated.static RubySymbolstatic RubySymbolRubySymbol.newSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Return the symbol in the symbol table if it exists, null otherwise.static RubyTimestatic RubyTimestatic RubyTimeCreate new (Ruby) Time instance.static RubyTimeRubyTime.newTimeFromNanoseconds(Ruby runtime, long nanoseconds) static RubyUncaughtThrowErrorRubyUncaughtThrowError.newUncaughtThrowError(Ruby runtime, IRubyObject tag, IRubyObject value, RubyString message) static RubyStringRubyString.newUnicodeString(Ruby runtime, CharSequence str) static RubyStringRubyString.newUnicodeString(Ruby runtime, String str) static RubyStringRubyString.newUSASCIIString(Ruby runtime, String str) static RubyStringRubyString.newUsAsciiStringNoCopy(Ruby runtime, ByteList bytes) static RubyStringRubyString.newUsAsciiStringShared(Ruby runtime, byte[] bytes, int start, int length) static RubyStringRubyString.newUsAsciiStringShared(Ruby runtime, ByteList bytes) static RubyStringRubyString.newUTF16String(Ruby runtime, CharSequence str) static RubyStringRubyString.newUTF16String(Ruby runtime, String str) static RubyStringRubyString.newUTF8String(Ruby runtime, CharSequence str) static RubyStringRubyString.newUTF8String(Ruby runtime, String str) (package private) static IRubyObjectRubyIO.nonblockEOF(Ruby runtime, boolean noException) private voidRubyRange.numericStep(ThreadContext context, Ruby runtime, IRubyObject step, Block block) private static booleanRubyNumeric.numStepNegative(ThreadContext context, Ruby runtime, IRubyObject num) static RubyFixnumprivate IRubyObjectprotected voidRubyHash.op_asetForString(Ruby runtime, RubyString key, IRubyObject value) protected voidRubyHash.op_asetSmallForString(Ruby runtime, RubyString key, IRubyObject value) RubyProcess.RubyStatus.op_rshift(Ruby runtime, IRubyObject other) private RubyTimeprivate RubyFloatprivate RubyTimeRubyTime.opPlusMillis(Ruby runtime, double adjustMillis) private static RubyArrayRubyArray.packedArray(Ruby runtime, List<? extends IRubyObject> args) private static RubyArrayRubyArray.packedArray(Ruby runtime, IRubyObject[] args) RubyRuntimeAdapter.parse(Ruby runtime, InputStream in, String filename, int lineNumber) private static intRubyProcess.parseSignalString(Ruby runtime, String value) private static org.joda.time.DateTimeZoneRubyTime.parseTZString(Ruby runtime, String zone) private static org.joda.time.DateTimeZoneRubyTime.parseZoneString(Ruby runtime, String zone) private RubyArrayRubyString.partitionMismatch(Ruby runtime) private static RubyClassRubyStruct.pathToClass(Ruby runtime, String path) static IRubyObjectprivate voidRubyString.populateCapturesForSplit(Ruby runtime, RubyArray result, RubyMatchData match) private RubyNumericstatic IRubyObjectprivate static ChannelRubyGlobal.prepareStdioChannel(Ruby runtime, STDIO stdio, Object stream) private static RubyIOstatic voidRubyRegexp.preprocessCheck(Ruby runtime, ByteList bytes) static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, RubyString[] strings, int embeddedOptions) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject[] strings, RegexpOptions options) static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, RegexpOptions options) Deprecated.private static voidRubyRegexp.preprocessLight(Ruby runtime, ByteList str, org.jcodings.Encoding enc, org.jcodings.Encoding[] fixedEnc, RegexpSupport.ErrorMode mode) Preprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise.static RubyIOstatic RubyIOprivate static voidRubyKernel.printExceptionSummary(Ruby runtime, RubyException rEx) private static org.jcodings.EncodingRubyRegexp.processDRegexpElement(Ruby runtime, RegexpOptions options, org.jcodings.Encoding regexpEnc, org.jcodings.Encoding[] fixedEnc, RubyString str) private static RubyStringRubyRegexp.processElementIntoResult(Ruby runtime, RubyString result, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, RegexpOptions options, org.jcodings.Encoding regexpEnc, org.jcodings.Encoding[] fixedEnc) private static RubyStringRubyRegexp.processElementIntoResult(Ruby runtime, RubyString result, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, RegexpOptions options, org.jcodings.Encoding regexpEnc, org.jcodings.Encoding[] fixedEnc) private static RubyStringRubyRegexp.processElementIntoResult(Ruby runtime, RubyString result, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, RegexpOptions options, org.jcodings.Encoding regexpEnc, org.jcodings.Encoding[] fixedEnc) private static RubyStringRubyRegexp.processElementIntoResult(Ruby runtime, RubyString result, IRubyObject arg0, IRubyObject arg1, RegexpOptions options, org.jcodings.Encoding regexpEnc, org.jcodings.Encoding[] fixedEnc) private static RubyStringRubyRegexp.processElementIntoResult(Ruby runtime, RubyString result, IRubyObject arg0, RegexpOptions options, org.jcodings.Encoding regexpEnc, org.jcodings.Encoding[] fixedEnc) RubyModule.putMethod(Ruby runtime, String id, DynamicMethod method) private static voidRubyIO.putsSingle(ThreadContext context, Ruby runtime, IRubyObject maybeIO, IRubyObject arg, RubyString separator) private static voidRubyProcess.raiseErrnoIfSet(Ruby runtime, RubyProcess.NonNativeErrno nonNative) static RubyBignumRubyRandom.randomSeed(Ruby runtime) private static intRubyIO.rb_io_fptr_finalize(Ruby runtime, OpenFile fptr) (package private) static voidRubyBasicObject.recacheBuiltinMethods(Ruby runtime) (package private) static voidRubyKernel.recacheBuiltinMethods(Ruby runtime, RubyModule kernelModule) Cache built-in versions of several core methods, to improve performance by using identity comparison (==) rather than going ahead with dynamic dispatch.private static RubyIORubyIO.recheckTTY(Ruby runtime, OpenFile fptr, RubyIO io) private static RubyClassRubyModule.refinementSuperclass(Ruby runtime, RubyModule superClass) private static IRubyObjectRubyObject.reifyAndAllocate(Ruby runtime, RubyClass klass) Reify the class and allocate an instance.private static IRubyObjectRubyKernel.requireCommon(Ruby runtime, RubyString name, Block block) static IRubyObjectstatic IRubyObjectprivate static intRubyProcess.rlimitResourceType(Ruby runtime, IRubyObject rtype) private static intRubyProcess.rlimitResourceValue(Ruby runtime, IRubyObject rval) private static RubyFixnumRubyDir.rmdirCommon(Ruby runtime, String path) private IRubyObjectRubyString.rpartitionMismatch(Ruby runtime) private RubyFixnumRubyString.rubyLength(Ruby runtime) private static voidRubyArray.safeArrayCopy(Ruby runtime, IRubyObject[] source, int sourceStart, IRubyObject[] target, int targetStart, int length) private static IRubyObjectRubyArray.safeArrayRef(Ruby runtime, IRubyObject[] values, int i) private static IRubyObjectRubyArray.safeArrayRefCondSet(Ruby runtime, IRubyObject[] values, int i, boolean doSet, IRubyObject value) private static IRubyObjectRubyArray.safeArrayRefSet(Ruby runtime, IRubyObject[] values, int i, IRubyObject value) protected static IRubyObjectRubyArray.safeArraySet(Ruby runtime, IRubyObject[] values, int i, IRubyObject value) private CacheEntryRubyModule.searchForAliasMethod(Ruby runtime, String id) private CacheEntryRubyModule.searchWithCacheMiss(Ruby runtime, String id, boolean cacheUndef) Search through this module and supermodules for method definitions afterRubyModule.cacheHit(String)failed to return a result.static IRubyObjectRubyIO.select_static(ThreadContext context, Ruby runtime, IRubyObject[] args) Deprecated.private voidRubyArray.selectBangEnsure(Ruby runtime, int len, int beg, int i1, int i2) final voidRubyModule.setConstantVisibility(Ruby runtime, String name, boolean hidden) static voidRuby.setCurrentInstance(Ruby runtime) Deprecated.voidRubyArgsFile.ArgsFileData.setCurrentLineNumber(Ruby runtime, int linenumber) Deprecated.private static voidRuby.setGlobalRuntimeFirstTimeOnly(Ruby runtime) Set the global runtime to the given runtime only if it has no been set.static IRubyObjectRubyProcess.setpgid(Ruby runtime, IRubyObject arg1, IRubyObject arg2) static IRubyObjectstatic IRubyObjectRubyProcess.setpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) static IRubyObjectstatic voidRuby.setThreadLocalRuntime(Ruby ruby) Set the thread-local runtime to the given runtime.private voidRubyIO.setupPopen(Ruby runtime, ModeFlags modes, ShellLauncher.POpenProcess process) static RubyStringRubyInteger.singleCharString(Ruby runtime, byte b, RubyClass meta, org.jcodings.Encoding enc) Return a single-character ByteList, possibly cached, corresponding to the given byte and encoding.private IRubyObjectRubyArray.slice_internal(Ruby runtime, int pos, int len) private IRubyObjectRubyString.smartChopBangCommon(Ruby runtime) private voidrb_ary_spliceprivate voidRubyArray.splice(Ruby runtime, int beg, int len, IRubyObject rpl) protected static RubyThreadRubyThread.startWaiterThread(Ruby runtime, long pid, Block block) static RubyFloatRubyNumeric.str2fnum(Ruby runtime, RubyString arg) Same as RubyNumeric.str2fnum passing false for strict.static RubyFloatRubyNumeric.str2fnum(Ruby runtime, RubyString arg, boolean strict) static IRubyObjectRubyNumeric.str2fnum(Ruby runtime, RubyString arg, boolean strict, boolean exception) Converts a string representation of a floating-point number to the numeric value.static RubyFloatRubyNumeric.str2fnum19(Ruby runtime, RubyString arg, boolean strict) Deprecated.static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base) static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict) static IRubyObjectRubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict, boolean exception) Converts a string representation of an integer to the integer value.final RubyString(package private) final RubyStringintRubyString.strHashCode(Ruby runtime) Generate a hash for the String, using its associated Ruby instance's hash seed.private intRubyString.subpatSetCheck(Ruby runtime, int nth, org.joni.Region regs) final IRubyObjectfinal IRubyObjectstatic ByteListRubySymbol.symbolBytesFromString(Ruby runtime, String internedSymbol) protected static ChannelFDprivate static ChannelFDRubyIO.sysopenFunc(Ruby runtime, RubyIO.Sysopen data) private static ChannelFDRubyIO.sysopenInternal(Ruby runtime, RubyIO.Sysopen data) static voidprotected final voidDeprecated.static RubyFixnumstatic IRubyObjectprivate RubyStringprivate RubyString(package private) final RubyStringfinal org.jcodings.EncodingRubyString.toEncoding(Ruby runtime) private RubyIntegerstatic RubyFixnumstatic IRubyObjectstatic IRubyObjectRubyProcess.uid_set(Ruby runtime, IRubyObject arg) private static RaiseExceptionRubyKernel.uncaughtThrow(Ruby runtime, IRubyObject tag, IRubyObject value, RubyString message) static StringRubyModule.undefinedMethodMessage(Ruby runtime, IRubyObject name, IRubyObject modName, boolean isModule) private voidRubyString.undumpAfterBackslash(Ruby runtime, byte[] ssBytes, int[] ss, int s_end, org.jcodings.Encoding[] penc, boolean[] utf8, boolean[] binary) intRubyString.unseededStrHashCode(Ruby runtime) Generate a hash for the String, without a seed.private voidRubyModule.updateGeneration(Ruby runtime) private static voidRubyModule.usingRefinement(Ruby runtime, RubyModule cref, RubyModule klass, RubyModule module) protected StringRubyModule.validateClassVariable(Ruby runtime, IRubyObject object) static IRubyObjectRubyProcess.wait(Ruby runtime, IRubyObject[] args) static IRubyObjectstatic longstatic IRubyObjectRubyProcess.waitpid(Ruby runtime, IRubyObject[] args) static IRubyObjectRubyProcess.waitpid2(Ruby runtime, IRubyObject[] args) private static voidRubyIO.warnWrite(Ruby runtime, IRubyObject maybeIO) static RubyFixnumstatic IRubyObject[]RubyEnumerable.zipCommonConvert(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObject[]RubyEnumerable.zipCommonConvert(Ruby runtime, IRubyObject[] args, String method) Deprecated.Modifier and TypeMethodDescriptionprivate voidModifierConstructorDescriptionprotectedAbstractRubyMethod(Ruby runtime, RubyClass rubyClass) AppendBlockCallback(Ruby runtime, RubyArray result) Deprecated.(package private)ArgsFileAccessor(Ruby runtime) ArgsFileData(Ruby runtime, RubyArray argv) BackRefGlobalVariable(Ruby runtime, String name) BacktraceGlobalVariable(Ruby runtime, String name) CaseInsensitiveStringOnlyRubyHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue, boolean updateRealENV) ChunkedBlockCallback(Ruby runtime, IRubyObject enumerator) ConvertingEntry(Ruby runtime, RubyHash.RubyHashEntry entry) DebugGlobalVariable(Ruby runtime, String name, IRubyObject initialValue) ErrorInfoGlobalVariable(Ruby runtime, String name, IRubyObject value) (package private)(package private)privateIncludedModule(Ruby runtime, RubyClass superClass, RubyModule origin) IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule origin) IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule origin, RubyModule methodsHolder) InputGlobalVariable(Ruby runtime, String name, IRubyObject value) KCodeGlobalVariable(Ruby runtime, String name, IRubyObject value) LastExitStatusVariable(Ruby runtime, String name) LastlineGlobalVariable(Ruby runtime, String name) LastMatchGlobalVariable(Ruby runtime, String name) LineNumberGlobalVariable(Ruby runtime, String name) LoadedFeatures(Ruby runtime, String name) Location(Ruby runtime, RubyClass klass, RubyStackTraceElement element) MatchMatchGlobalVariable(Ruby runtime, String name) (package private)MetaClass(Ruby runtime, RubyClass superClass, RubyBasicObject attached) rb_class_boot for meta classes (MetaClass.makeMetaClass(RubyClass))MetaClass(Ruby runtime, RubyClass superClass, IRubyObject attached) Deprecated.privateNativeException(Ruby runtime, RubyClass rubyClass) Deprecated.NativeException(Ruby runtime, RubyClass rubyClass, Throwable cause) Deprecated.privateNativeException(Ruby runtime, RubyClass rubyClass, Throwable cause, String message) Deprecated.NonEffectiveGlobalVariable(Ruby runtime, String name, IRubyObject value) OutputGlobalVariable(Ruby runtime, String name, IRubyObject value) PidAccessor(Ruby runtime) PostMatchGlobalVariable(Ruby runtime, String name) PreMatchGlobalVariable(Ruby runtime, String name) PrependedModule(Ruby runtime, RubyClass superClass, RubyModule prependedClass) ProfilingCacheEntryFactory(Ruby runtime, RubyModule.CacheEntryFactory previous) PutKeyValueCallback(Ruby runtime, RubyHash result) Deprecated.PutKeyValueCallback(Ruby runtime, RubyHash result, Block block) Deprecated.ReadOnlySystemPropertiesHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue) ReadOnlySystemPropertiesHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue, boolean updateRealENV) RubyArgsFile(Ruby runtime, RubyClass metaClass) protectedRubyArgumentError(Ruby runtime, RubyClass exceptionClass) protectedRubyArgumentError(Ruby runtime, RubyClass exceptionClass, String message) RubyArithmeticSequence(Ruby runtime, RubyClass klass) RubyArithmeticSequence(Ruby runtime, RubyClass klass, IRubyObject generatedBy, String method, IRubyObject[] args, IRubyObject begin, IRubyObject end, IRubyObject step, IRubyObject excludeEnd) privateprotectedprotectedprivateRubyArray(Ruby runtime, RubyClass klass, IRubyObject[] vals) privateRubyArray(Ruby runtime, RubyClass klass, IRubyObject[] vals, boolean objectspace) privateRubyArray(Ruby runtime, RubyClass metaClass, IRubyObject[] vals, int begin, int length, boolean objectSpace) privateRubyArray(Ruby runtime, IRubyObject[] vals) privateRubyArray(Ruby runtime, IRubyObject[] vals, boolean objectSpace) privateRubyArray(Ruby runtime, IRubyObject[] vals, int begin, int length) RubyBasicObject(Ruby runtime, RubyClass metaClass) Standard path for object creation.protectedRubyBasicObject(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.protectedRubyBasicObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.RubyBignum(Ruby runtime, BigInteger value) privateRubyBinding(Ruby runtime, RubyClass rubyClass) RubyBinding(Ruby runtime, RubyClass rubyClass, Binding binding) (package private)RubyBoolean(Ruby runtime, boolean value) RubyChain(Ruby runtime, RubyClass klass, IRubyObject[] enums) protectedused by CLASS_ALLOCATOR (any Class' class will be a Class!) also used to bootstrap Object classprotectedrb_class_boot (for plain Classes) also used to bootstrap Module and Class classesprotectedseparate path for MetaClass and IncludedModuleWrapper construction (rb_class_boot version for MetaClasses) no marshal, allocator initialization and addSubclass(this) here!protectedA constructor which allows passing in an array of supplementary call sites.privateRubyClassPathVariable(Ruby runtime) protectedRubyCompatibilityError(Ruby runtime, RubyClass exceptionClass) privateRubyComplex(Ruby runtime, RubyClass clazz) privateRubyComplex(Ruby runtime, RubyClass clazz, IRubyObject real, IRubyObject image) internalprotectedRubyConcurrencyError(Ruby runtime, RubyClass exceptionClass) RubyContinuation(Ruby runtime) Deprecated.RubyContinuation(Ruby runtime, IRubyObject tag) Deprecated.RubyConverter(Ruby runtime) RubyConverter(Ruby runtime, RubyClass klass) protectedRubyConverterNotFoundError(Ruby runtime, RubyClass exceptionClass) protectedRubyDomainError(Ruby runtime, RubyClass exceptionClass) privateRubyEncoding(Ruby runtime, byte[] name, int p, int end, boolean isDummy) privateRubyEncoding(Ruby runtime, byte[] name, org.jcodings.Encoding encoding, boolean isDummy) privateRubyEncoding(Ruby runtime, ByteList name, org.jcodings.Encoding encoding, boolean isDummy) protectedRubyEncodingError(Ruby runtime, RubyClass exceptionClass) privateRubyEnumerator(Ruby runtime, RubyClass type) privateRubyEnumerator(Ruby runtime, RubyClass type, IRubyObject object, RubySymbol method, IRubyObject[] args, IRubyObject size, RubyEnumerator.SizeFn sizeFn) privateRubyEnumerator(Ruby runtime, RubyClass type, IRubyObject object, IRubyObject method, IRubyObject[] args) protectedRubyEOFError(Ruby runtime, RubyClass exceptionClass) protectedRubyException(Ruby runtime, RubyClass rubyClass) RubyException(Ruby runtime, RubyClass rubyClass, String message) protectedprotectedRubyFiberError(Ruby runtime, RubyClass exceptionClass) RubyFile(Ruby runtime, String path, InputStream in) (package private)RubyFile(Ruby runtime, String path, FileChannel channel) protectedRubyFileStat(Ruby runtime, RubyClass clazz) RubyFixnum(Ruby runtime) RubyFixnum(Ruby runtime, long value) protectedRubyFloatDomainError(Ruby runtime, RubyClass exceptionClass) protectedRubyFrozenError(Ruby runtime, RubyClass exceptionClass) RubyGenerator(Ruby runtime, RubyClass klass) (package private)RubyHash(Ruby runtime, Map valueMap, IRubyObject defaultValue) privateprotectedRubyHash(Ruby runtime, RubyClass metaClass, IRubyObject defaultValue, RubyHash.RubyHashEntry[] initialTable, int threshold) RubyHash(Ruby runtime, IRubyObject defaultValue) RubyHash(Ruby runtime, IRubyObject defaultValue, int buckets) protectedRubyIndexError(Ruby runtime, RubyClass exceptionClass) protectedRubyIndexError(Ruby runtime, RubyClass exceptionClass, String message) RubyInteger(Ruby runtime, RubyClass rubyClass) RubyInteger(Ruby runtime, RubyClass rubyClass, boolean useObjectSpace) RubyInteger(Ruby runtime, RubyClass rubyClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.protectedRubyInterrupt(Ruby runtime, RubyClass exceptionClass) protectedRubyInterruptedRegexpError(Ruby runtime, RubyClass exceptionClass) protectedRubyInvalidByteSequenceError(Ruby runtime, RubyClass exceptionClass) RubyIO(Ruby runtime, InputStream inputStream) RubyIO(Ruby runtime, OutputStream outputStream) RubyIO(Ruby runtime, OutputStream outputStream, boolean autoclose) RubyIO(Ruby runtime, RubyClass cls, ShellLauncher.POpenProcess process, RubyHash options, IOOptions ioOptions) Deprecated.Deprecated.RubyIO(Ruby runtime, ShellLauncher.POpenProcess process, IOOptions ioOptions) protectedRubyIOError(Ruby runtime, RubyClass exceptionClass) protectedRubyKeyError(Ruby runtime, RubyClass exceptionClass) RubyKeyError(Ruby runtime, RubyClass exceptionClass, String message, IRubyObject recv, IRubyObject key) protectedRubyLoadError(Ruby runtime, RubyClass exceptionClass) privateRubyLocalJumpError(Ruby runtime, RubyClass exceptionClass) RubyLocalJumpError(Ruby runtime, RubyClass exceptionClass, String message, RubyLocalJumpError.Reason reason, IRubyObject exitValue) RubyMatchData(Ruby runtime) RubyMatchData(Ruby runtime, RubyClass metaClass) protectedRubyMethod(Ruby runtime, RubyClass rubyClass) protectedRubyModule(Ruby runtime) standard path for Module constructionprotectedRubyModule(Ruby runtime, RubyClass metaClass) used by MODULE_ALLOCATOR and RubyClass constructorsprotectedRubyModule(Ruby runtime, RubyClass metaClass, boolean objectSpace) separate path for MetaClass constructionprotectedRubyNameError(Ruby runtime, RubyClass exceptionClass) RubyNameError(Ruby runtime, RubyClass exceptionClass, String message) RubyNameError(Ruby runtime, RubyClass exceptionClass, String message, String name) RubyNameError(Ruby runtime, RubyClass exceptionClass, String message, IRubyObject name) (package private)RubyNameErrorMessage(Ruby runtime, String message, IRubyObject object, IRubyObject name) (package private)RubyNameErrorMessage(Ruby runtime, RubyClass klazz) protectedRubyNoMemoryError(Ruby runtime, RubyClass exceptionClass) protectedRubyNoMethodError(Ruby runtime, RubyClass exceptionClass) RubyNoMethodError(Ruby runtime, RubyClass exceptionClass, String message, String name, IRubyObject args) protectedRubyNotImplementedError(Ruby runtime, RubyClass exceptionClass) 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.protectedRubyObject(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.protectedRubyObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.(package private)RubyPOpen(Ruby runtime, IRubyObject[] args) protectedRubyProc(Ruby runtime, RubyClass rubyClass, Block.Type type) protectedRubyProc(Ruby runtime, RubyClass rubyClass, Block.Type type, String file, int line) protectedRubyProc(Ruby runtime, RubyClass rubyClass, Block.Type type, ISourcePosition sourcePosition) Deprecated.(package private)RubyRandom(Ruby runtime, RubyClass rubyClass) privateprotectedRubyRangeError(Ruby runtime, RubyClass exceptionClass) privateRubyRational(Ruby runtime, RubyClass clazz) privateRubyRational(Ruby runtime, RubyClass clazz, RubyInteger num, RubyInteger den) (package private)RubyRegexp(Ruby runtime) default constructorRubyRegexp(Ruby runtime, org.joni.Regex pattern, ByteList str, RegexpOptions options) privateRubyRegexp(Ruby runtime, RubyClass klass) used by allocatorprivateRubyRegexp(Ruby runtime, ByteList str) privateRubyRegexp(Ruby runtime, ByteList str, RegexpOptions options) protectedRubyRegexpError(Ruby runtime, RubyClass exceptionClass) protectedRubyRuntimeError(Ruby runtime, RubyClass exceptionClass) protectedRubyScriptError(Ruby runtime, RubyClass exceptionClass) protectedRubySecurityError(Ruby runtime, RubyClass exceptionClass) protectedRubySignalException(Ruby runtime, RubyClass exceptionClass) protectedRubyStandardError(Ruby runtime, RubyClass exceptionClass) protectedRubyStandardError(Ruby runtime, RubyClass exceptionClass, String message) RubyStatus(Ruby runtime, RubyClass metaClass, long status, long pid) protectedRubyStopIteration(Ruby runtime, RubyClass exceptionClass) RubyString(Ruby runtime, RubyClass rubyClass) RubyString(Ruby runtime, RubyClass rubyClass, byte[] value) RubyString(Ruby runtime, RubyClass rubyClass, CharSequence value) RubyString(Ruby runtime, RubyClass rubyClass, CharSequence value, org.jcodings.Encoding enc) privateRubyString(Ruby runtime, RubyClass rubyClass, String value, org.jcodings.Encoding enc) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value, boolean objectSpace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding encoding, boolean objectSpace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc, int cr) privateRubyStruct(Ruby runtime, RubyClass rubyClass) Constructor for RubyStruct.privateRubySymbol(Ruby runtime, String internedSymbol) privateRubySymbol(Ruby runtime, String internedSymbol, ByteList symbolBytes) protectedRubySyntaxError(Ruby runtime, RubyClass exceptionClass) protectedRubySystemCallError(Ruby runtime, RubyClass rubyClass) protectedRubySystemExit(Ruby runtime, RubyClass exceptionClass) protectedRubySystemStackError(Ruby runtime, RubyClass exceptionClass) protectedRubyThread(Ruby runtime, RubyClass type, boolean adopted) RubyThread(Ruby runtime, RubyClass klass, Runnable runnable) protectedRubyThreadError(Ruby runtime, RubyClass exceptionClass) privateRubyThreadGroup(Ruby runtime, RubyClass type) protectedRubyTypeError(Ruby runtime, RubyClass exceptionClass) protectedRubyUnboundMethod(Ruby runtime) protectedRubyUncaughtThrowError(Ruby runtime, RubyClass exceptionClass) protectedRubyUndefinedConversionError(Ruby runtime, RubyClass exceptionClass) RubyYielder(Ruby runtime) RubyYielder(Ruby runtime, RubyClass klass) protectedRubyZeroDivisionError(Ruby runtime, RubyClass exceptionClass) SafeGlobalVariable(Ruby runtime, String name) StringGlobalVariable(Ruby runtime, String name, IRubyObject value) StringOnlyRubyHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue) StringOnlyRubyHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue, boolean updateRealENV) StringOrRegexpGlobalVariable(Ruby runtime, String name, IRubyObject value) SymbolProcBody(Ruby runtime, String symbol) SymbolProcBody(Ruby runtime, String symbol, StaticScope scope) SymbolTable(Ruby runtime) (package private)VerboseGlobalVariable(Ruby runtime, String name, IRubyObject initialValue) WarningGlobalVariable(Ruby runtime, String name, RubyInstanceConfig.Verbosity verbosity) -
Uses of Ruby in org.jruby.anno
Methods in org.jruby.anno with parameters of type RubyModifier and TypeMethodDescriptionprivate voidTypePopulator.ReflectiveTypePopulator.addBoundMethodsUnlessOmitted(Ruby runtime, String name, List<JavaMethodDescriptor> methods) -
Uses of Ruby in org.jruby.api
Methods in org.jruby.api with parameters of type RubyModifier and TypeMethodDescriptionstatic intAPI.rb_cloexec_pipe(Ruby runtime, int[] pipes) static voidAPI.rb_maygvl_fd_fix_cloexec(Ruby runtime, int fd) static intstatic IRubyObjectAPI.rb_sys_fail_path(Ruby runtime, String path) -
Uses of Ruby in org.jruby.ast
Methods in org.jruby.ast with parameters of type RubyModifier and TypeMethodDescriptionFixnumNode.literalValue(Ruby runtime) FloatNode.literalValue(Ruby runtime) LiteralValue.literalValue(Ruby runtime) StrNode.literalValue(Ruby runtime) SymbolNode.literalValue(Ruby runtime) -
Uses of Ruby in org.jruby.ast.executable
Methods in org.jruby.ast.executable with parameters of type RubyModifier and TypeMethodDescriptionprivate voidRuntimeCache.warnAboutUninitializedIvar(Ruby runtime, String name) -
Uses of Ruby in org.jruby.ast.util
Methods in org.jruby.ast.util with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyArrayArgsUtil.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 RubyArrayArgsUtil.convertToRubyArrayWithCoerce(Ruby runtime, IRubyObject value) static IRubyObjectArgsUtil.getOptionsArg(Ruby runtime, IRubyObject arg) static IRubyObjectArgsUtil.getOptionsArg(Ruby runtime, IRubyObject... args) static IRubyObjectArgsUtil.getOptionsArg(Ruby runtime, IRubyObject arg, boolean raise) -
Uses of Ruby in org.jruby.common
Fields in org.jruby.common declared as RubyModifier and TypeFieldDescriptionprivate final RubyNullWarnings.runtimeprivate final RubyRubyWarnings.runtimeMethods in org.jruby.common that return RubyModifier and TypeMethodDescriptionIRubyWarnings.getRuntime()NullWarnings.getRuntime()RubyWarnings.getRuntime()Methods in org.jruby.common with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyModuleRubyWarnings.createWarningModule(Ruby runtime) private static voidRubyWarnings.writeWarning(Ruby runtime, IRubyWarnings.ID id, String message) Constructors in org.jruby.common with parameters of type Ruby -
Uses of Ruby in org.jruby.compiler
Fields in org.jruby.compiler declared as RubyConstructors in org.jruby.compiler with parameters of type RubyModifierConstructorDescriptionBlockJITClassGenerator(String className, String methodName, String key, Ruby ruby, MixedModeIRBlockBody body, JVMVisitor visitor) JITClassGenerator(String className, String methodName, String key, Ruby ruby, JVMVisitor visitor) JITCompiler(Ruby runtime) MethodJITClassGenerator(String className, String methodName, String key, Ruby ruby, AbstractIRMethod method, JVMVisitor visitor) -
Uses of Ruby in org.jruby.embed
Methods in org.jruby.embed that return Ruby -
Uses of Ruby in org.jruby.embed.internal
Fields in org.jruby.embed.internal declared as RubyMethods in org.jruby.embed.internal that return RubyModifier and TypeMethodDescription(package private) RubyAbstractLocalContextProvider.getGlobalRuntime(AbstractLocalContextProvider provider) BiVariableMap.getRuntime()ConcurrentLocalContextProvider.getRuntime()(package private) RubyLocalContext.getRuntime()LocalContextProvider.getRuntime()Returns a Ruby runtime of a specified scope.SingleThreadLocalContextProvider.getRuntime()SingletonLocalContextProvider.getRuntime()ThreadSafeLocalContextProvider.getRuntime()LocalContext.getThreadSafeRuntime()Deprecated.Methods in org.jruby.embed.internal with parameters of type RubyModifier and TypeMethodDescriptionprivate static IRubyObject[]EmbedRubyObjectAdapterImpl.convertArgs(Ruby runtime, Object[] args) (package private) static DynamicScopeEmbedRubyRuntimeAdapterImpl.createLocalVarScope(Ruby runtime, String[] varNames) EmbedRubyRuntimeAdapterImpl.parse(Ruby runtime, InputStream istream, String filename, int lineNumber) -
Uses of Ruby in org.jruby.embed.jsr223
Methods in org.jruby.embed.jsr223 with parameters of type Ruby -
Uses of Ruby in org.jruby.embed.osgi.internal
Methods in org.jruby.embed.osgi.internal with parameters of type RubyConstructors in org.jruby.embed.osgi.internal with parameters of type RubyModifierConstructorDescriptionOSGiLoadService(Ruby runtime) Default constructor Optional constructor (why?) -
Uses of Ruby in org.jruby.embed.util
Methods in org.jruby.embed.util with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyHashCoreConstructors.createHash(Ruby runtime, IRubyObject key, IRubyObject value) static RubyHashCoreConstructors.createHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) -
Uses of Ruby in org.jruby.embed.variable
Methods in org.jruby.embed.variable that return RubyMethods in org.jruby.embed.variable with parameters of type RubyModifier and TypeMethodDescriptionprotected static RubyModuleAbstractVariable.getRubyClass(Ruby runtime) static voidVariableInterceptor.inject(BiVariableMap map, Ruby runtime, ManyVarsDynamicScope scope) Deprecated.static voidGlobalVariable.retrieveByKey(Ruby runtime, BiVariableMap vars, String key) Retrieves a global variable by key from Ruby after the evaluation.static voidLocalGlobalVariable.retrieveByKey(Ruby runtime, BiVariableMap vars, String name) Retrieves a global variable by key from Ruby runtime after the evaluation.voidAbstractVariable.setJavaObject(Ruby runtime, Object javaObject) voidBiVariable.setJavaObject(Ruby runtime, Object javaObject) Sets a Java object as a value of this object.voidGlobalVariable.setJavaObject(Ruby runtime, Object javaObject) Sets a Java object and its Ruby type as a value of this object.static voidVariableInterceptor.terminateGlobalVariables(LocalVariableBehavior behavior, Collection<BiVariable> variables, Ruby runtime) Clears global variable values from Ruby runtime to behave the same as JSR 223 reference implementation.voidGlobalVariable.tryEagerInjection(Ruby runtime, IRubyObject receiver) Deprecated.protected voidAbstractVariable.updateByJavaObject(Ruby runtime, Object... values) -
Uses of Ruby in org.jruby.exceptions
Methods in org.jruby.exceptions with parameters of type RubyModifier and TypeMethodDescriptionJumpException.FlowControlException.buildException(Ruby runtime) static RaiseExceptionRaiseException.createNativeRaiseException(Ruby runtime, Throwable cause) Deprecated.static RaiseExceptionRaiseException.createNativeRaiseException(Ruby runtime, Throwable cause, Member target) Deprecated.private static RubyClassRaiseException.findExceptionClass(Ruby runtime, String exceptionPath) static RaiseExceptionConstruct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, String exceptionPath, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, String exceptionPath, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionConstruct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, RubyClass exceptionClass, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class.Constructors in org.jruby.exceptions with parameters of type RubyModifierConstructorDescriptionRaiseException(Ruby runtime, RubyClass exceptionClass, String msg) Deprecated.RaiseException(Ruby runtime, RubyClass exceptionClass, String msg, boolean unused) Deprecated.RaiseException(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace) Deprecated.RaiseException(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace, boolean unused) Deprecated. -
Uses of Ruby in org.jruby.ext
Fields in org.jruby.ext declared as RubyMethods in org.jruby.ext with parameters of type RubyModifier and TypeMethodDescriptionstatic voidJRubyPOSIXHelper.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.voidConstructors in org.jruby.ext with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.bigdecimal
Methods in org.jruby.ext.bigdecimal with parameters of type RubyModifier and TypeMethodDescriptionprivate static longRubyBigDecimal.bigDecimalVar(Ruby runtime, String variableName) private static IRubyObjectRubyBigDecimal.checkOverUnderFlow(Ruby runtime, ArithmeticException ex, boolean nullDefault, boolean strict, boolean exception) static RubyClassRubyBigDecimal.createBigDecimal(Ruby runtime) private static intRubyBigDecimal.getPrecisionInt(Ruby runtime, IRubyObject v) private static intRubyBigDecimal.getPrecLimit(Ruby runtime) private static RoundingModeRubyBigDecimal.getRoundingMode(Ruby runtime) private static IRubyObjectRubyBigDecimal.handleFloatDomainError(Ruby runtime, String message, boolean strict, boolean exception) private static booleanRubyBigDecimal.isInfinityExceptionMode(Ruby runtime) private static booleanRubyBigDecimal.isNaNExceptionMode(Ruby runtime) private static booleanRubyBigDecimal.isOverflowExceptionMode(Ruby runtime) private static booleanRubyBigDecimal.isUnderflowExceptionMode(Ruby runtime) private static booleanRubyBigDecimal.isZeroDivideExceptionMode(Ruby runtime) voidprivate RubyBigDecimalRubyBigDecimal.multImpl(Ruby runtime, RubyBigDecimal val) private static RubyBigDecimalRubyBigDecimal.newFloatSpecialCases(Ruby runtime, RubyFloat val) private static RubyBigDecimalRubyBigDecimal.newInfinity(Ruby runtime, int sign) private static RaiseExceptionRubyBigDecimal.newInfinityFloatDomainError(Ruby runtime, int sign) private static RubyBigDecimalRubyBigDecimal.newInstance(Ruby runtime, IRubyObject recv, RubyBigDecimal arg) private static RubyBigDecimalRubyBigDecimal.newInstance(Ruby runtime, IRubyObject recv, RubyBignum arg, MathContext mathContext) private static RubyBigDecimalRubyBigDecimal.newInstance(Ruby runtime, IRubyObject recv, RubyFixnum arg, MathContext mathContext) private static RubyBigDecimalRubyBigDecimal.newInstance(Ruby runtime, IRubyObject recv, RubyFloat arg, MathContext mathContext) private static RubyBigDecimalprivate static RaiseExceptionRubyBigDecimal.newNaNFloatDomainError(Ruby runtime) private static RubyBigDecimalprivate RubyFixnum(package private) final RubyIntegerprivate RubyFloatprivate static RubyIntegerRubyBigDecimal.toInteger(Ruby runtime, BigDecimal result) private RubyStringRubyBigDecimal.toStringImpl(Ruby runtime, String arg) private RubyBigDecimalRubyBigDecimal.truncateInternal(Ruby runtime, int arg) private static IRubyObjectRubyBigDecimal.vpPrecLimit(Ruby runtime) Constructors in org.jruby.ext.bigdecimal with parameters of type RubyModifierConstructorDescriptionRubyBigDecimal(Ruby runtime, BigDecimal value) RubyBigDecimal(Ruby runtime, BigDecimal value, boolean isNan) RubyBigDecimal(Ruby runtime, BigDecimal value, int infinitySign) RubyBigDecimal(Ruby runtime, BigDecimal value, int infinitySign, int zeroSign) RubyBigDecimal(Ruby runtime, RubyBigDecimal rbd) Deprecated.RubyBigDecimal(Ruby runtime, RubyClass klass) RubyBigDecimal(Ruby runtime, RubyClass klass, BigDecimal value) (package private)RubyBigDecimal(Ruby runtime, RubyClass klass, BigDecimal value, int zeroSign, int infinitySign, boolean isNaN) RubyBigDecimal(Ruby runtime, RubyClass klass, RubyBigDecimal rbd) Deprecated. -
Uses of Ruby in org.jruby.ext.cgi.escape
Methods in org.jruby.ext.cgi.escape with parameters of type RubyModifier and TypeMethodDescriptionvoid(package private) static IRubyObjectCGIEscape.optimized_escape(Ruby runtime, RubyString str) (package private) static IRubyObjectCGIEscape.optimized_escape_html(Ruby runtime, RubyString str) (package private) static IRubyObjectCGIEscape.optimized_unescape_html(Ruby runtime, RubyString str) -
Uses of Ruby in org.jruby.ext.coverage
Methods in org.jruby.ext.coverage with parameters of type RubyModifier and TypeMethodDescriptionprivate static IRubyObjectCoverageModule.convertCoverageToRuby(ThreadContext context, Ruby runtime, Map<String, IntList> coverage, int mode) void -
Uses of Ruby in org.jruby.ext.date
Methods in org.jruby.ext.date with parameters of type RubyModifier and TypeMethodDescription(package private) static RubyClassRubyDate.createDateClass(Ruby runtime) (package private) static RubyClassRubyDateTime.createDateTimeClass(Ruby runtime, RubyClass Date) private static RubyIntegerRubyDate.cstr2num(Ruby runtime, RubyString str, int bp, int ep) (package private) static RubyClass(package private) static RubyClassRubyDate.getDateTime(Ruby runtime) private RubyFixnumstatic voidvoid(package private) static voidprivate static RubyRegexpRubyDate.newRegexpFromCache(Ruby runtime, ByteList str, int opts) (package private) final RubyRationalConstructors in org.jruby.ext.date with parameters of type RubyModifierConstructorDescriptionprotected(package private)(package private)RubyDate(Ruby runtime, RubyClass klass, org.joda.time.DateTime dt, int off, long start, long subMillisNum, long subMillisDen) RubyDateTime(Ruby runtime, long millis, org.joda.time.Chronology chronology) RubyDateTime(Ruby runtime, org.joda.time.DateTime dt) protectedRubyDateTime(Ruby runtime, RubyClass klass) RubyDateTime(Ruby runtime, RubyClass klass, org.joda.time.DateTime dt) privateRubyDateTime(Ruby runtime, RubyClass klass, org.joda.time.DateTime dt, int off) (package private)RubyDateTime(Ruby runtime, RubyClass klass, org.joda.time.DateTime dt, int off, long start) (package private)RubyDateTime(Ruby runtime, RubyClass klass, org.joda.time.DateTime dt, int off, long start, long subMillisNum, long subMillisDen) -
Uses of Ruby in org.jruby.ext.digest
Methods in org.jruby.ext.digest with parameters of type RubyModifier and TypeMethodDescriptionstatic voidRubyDigest.createDigest(Ruby runtime) static voidRubyDigest.createDigestBubbleBabble(Ruby runtime) static voidRubyDigest.createDigestMD5(Ruby runtime) static voidRubyDigest.createDigestRMD160(Ruby runtime) static voidRubyDigest.createDigestSHA1(Ruby runtime) static voidRubyDigest.createDigestSHA2(Ruby runtime) voidvoidvoidvoidvoidvoidprivate static RubyStringRubyDigest.toHexString(Ruby runtime, byte[] val) Constructors in org.jruby.ext.digest with parameters of type RubyModifierConstructorDescriptionDigestBase(Ruby runtime, RubyClass type) DigestClass(Ruby runtime, RubyClass type) -
Uses of Ruby in org.jruby.ext.etc
Methods in org.jruby.ext.etc with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyModuleRubyEtc.createEtcModule(Ruby runtime) private static voidRubyEtc.defineGroupStruct(Ruby runtime) private static voidRubyEtc.definePasswdStruct(Ruby runtime) private static IRubyObjectRubyEtc.intoStringArray(Ruby runtime, String[] members) voidprivate static IRubyObjectRubyEtc.setupGroup(Ruby runtime, jnr.posix.Group group) private static IRubyObjectRubyEtc.setupPasswd(Ruby runtime, jnr.posix.Passwd passwd) -
Uses of Ruby in org.jruby.ext.fcntl
Methods in org.jruby.ext.fcntl with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.ffi
Fields in org.jruby.ext.ffi declared as RubyModifier and TypeFieldDescriptionprotected final RubyArrayMemoryIO.runtimeprotected final RubyInvalidMemoryIO.runtimeprivate final RubySwappedMemoryIO.runtimeMethods in org.jruby.ext.ffi that return RubyMethods in org.jruby.ext.ffi with parameters of type RubyModifier and TypeMethodDescription(package private) static MemoryPointerabstract MemoryIOFactory.allocateDirectMemory(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.abstract MemoryIOFactory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.NoImplFactory.allocateDirectMemory(Ruby runtime, int size, boolean clear) NoImplFactory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) private static MemoryIOBuffer.allocateMemoryIO(Ruby runtime, int size) abstract MemoryIOFactory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates transient native memory (not from C heap) and wraps it in a MemoryIO accessor.NoImplFactory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) static final voidUtil.checkBounds(Ruby runtime, long size, long off, long len) static RubyClassAbstractInvoker.createAbstractInvokerClass(Ruby runtime, RubyModule module) static RubyClassAbstractMemory.createAbstractMemoryClass(Ruby runtime, RubyModule module) static RubyClassAutoPointer.createAutoPointerClass(Ruby runtime, RubyModule module) static RubyClassBuffer.createBufferClass(Ruby runtime, RubyModule module) static RubyClassCallbackInfo.createCallbackInfoClass(Ruby runtime, RubyModule module) Creates a CallbackInfo class for a ruby runtimestatic RubyClassMappedType.createConverterTypeClass(Ruby runtime, RubyModule ffiModule) static RubyModuleDataConverter.createDataConverterModule(Ruby runtime, RubyModule module) static RubyClassEnums.createEnumsClass(Ruby runtime, RubyModule ffiModule) static voidIOModule.createIOModule(Ruby runtime, RubyModule ffi) static RubyClassMemoryPointer.createMemoryPointerClass(Ruby runtime, RubyModule module) static voidPlatform.createPlatformModule(Ruby runtime, RubyModule ffi) static RubyClassPointer.createPointerClass(Ruby runtime, RubyModule module) static RubyClassStructByValue.createStructByValueClass(Ruby runtime, RubyModule ffiModule) static RubyClassStruct.createStructClass(Ruby runtime, RubyModule module) Registers the StructLayout class in the JRuby runtime.static RubyClassStructLayout.createStructLayoutClass(Ruby runtime, RubyModule module) Registers the StructLayout class in the JRuby runtime.static RubyClassType.createTypeClass(Ruby runtime, RubyModule ffiModule) private static final voidType.defineBuiltinType(Ruby runtime, RubyClass builtinClass, NativeType nativeType, String... names) final TypeTypeResolver.findType(Ruby runtime, IRubyObject name) final TypeTypeResolver.findType(Ruby runtime, IRubyObject name, IRubyObject typeMap) final IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObject(package private) abstract IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectfinal IRubyObjectstatic final IRubyObjectMemoryUtil.getArrayOfFloat32(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfFloat64(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned16(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned32(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned64(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfSigned8(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned16(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned32(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned64(Ruby runtime, MemoryIO io, long offset, int count) static final IRubyObjectMemoryUtil.getArrayOfUnsigned8(Ruby runtime, MemoryIO io, long offset, int count) abstract PointerCallbackManager.getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc) protected RubyClassInvalidMemoryIO.getErrorClass(Ruby runtime) protected RubyClassNullMemoryIO.getErrorClass(Ruby runtime) (package private) final StructLayout.FieldStructLayout.getField(Ruby runtime, IRubyObject name) Returns aStructLayout.Fielddescriptor for a struct field.(package private) final StructLayout.MemberStructLayout.getMember(Ruby runtime, IRubyObject name) Returns aStructLayout.Memberdescriptor for a struct field.static final Pointerprotected abstract PointerAbstractMemory.getPointer(Ruby runtime, long offset) protected PointerBuffer.getPointer(Ruby runtime, long offset) protected PointerPointer.getPointer(Ruby runtime, long offset) static final RubyClassPointer.getPointerClass(Ruby runtime) (package private) static final StructLayoutStruct.getStructLayout(Ruby runtime, IRubyObject structClass) (package private) static final intStruct.getStructSize(Ruby runtime, IRubyObject structClass) static final RubyStringMemoryUtil.getTaintedByteString(Ruby runtime, MemoryIO io, long offset, int length) Reads a byte (binary) string from a memory object.static final IRubyObjectMemoryUtil.getTaintedString(Ruby runtime, MemoryIO io, long offset) Gets a NUL terminated string from a memory objectstatic final IRubyObjectMemoryUtil.getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) Reads a NUL terminated string from a memory objectstatic final RubyClassType.getTypeClass(Ruby runtime) voidFactory.init(Ruby runtime, RubyModule ffi) Registers FFI ruby classes/modulesvoidNoImplFactory.init(Ruby runtime, RubyModule ffi) (package private) static final booleanvoidprivate TypeTypeResolver.lookupAndCacheType(Ruby runtime, RubySymbol name, IRubyObject typeMap) private TypeTypeResolver.lookupType(Ruby runtime, IRubyObject name, IRubyObject typeMap) abstract AbstractInvokerFactory.newFunction(Ruby runtime, Pointer address, CallbackInfo cbInfo) NoImplFactory.newFunction(Ruby runtime, Pointer address, CallbackInfo cbInfo) static final IRubyObjectUtil.newSigned16(Ruby runtime, short value) static final IRubyObjectUtil.newSigned32(Ruby runtime, int value) static final IRubyObjectUtil.newSigned64(Ruby runtime, long value) static final IRubyObjectUtil.newSigned8(Ruby runtime, byte value) static final RubyStringMemoryUtil.newTaintedString(Ruby runtime, byte[] bytes) Creates a ruby string from a byte array and sets the taint flag on itstatic final IRubyObjectUtil.newUnsigned16(Ruby runtime, short value) static final IRubyObjectUtil.newUnsigned32(Ruby runtime, int value) static final IRubyObjectUtil.newUnsigned64(Ruby runtime, long value) static final IRubyObjectUtil.newUnsigned8(Ruby runtime, byte value) abstract AbstractMemoryfinal AbstractMemoryfinal AbstractMemorystatic ByteOrderUtil.parseByteOrder(Ruby runtime, IRubyObject byte_order) final voidMemoryOp.BooleanOp.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Float128.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Float32.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Float64.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.PointerOp.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) (package private) abstract voidMemoryOp.PrimitiveOp.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed16.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed16Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed32.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed32Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed64.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed64Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Signed8.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned16.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned16Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned32.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned32Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned64.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned64Swapped.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) final voidMemoryOp.Unsigned8.put(Ruby runtime, MemoryIO io, long offset, IRubyObject value) static final voidMemoryUtil.putArrayOfFloat32(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfFloat64(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned16(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned32(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned64(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfSigned8(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned16(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned32(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned64(Ruby runtime, MemoryIO io, long offset, RubyArray ary) static final voidMemoryUtil.putArrayOfUnsigned8(Ruby runtime, MemoryIO io, long offset, RubyArray ary) protected abstract AbstractMemoryprotected abstract AbstractMemoryprotected AbstractMemoryprotected AbstractMemoryprotected AbstractMemoryprotected AbstractMemoryabstract MemoryIOFactory.wrapDirectMemory(Ruby runtime, long address) Wraps a native C memory address in a MemoryIO accessor.NoImplFactory.wrapDirectMemory(Ruby runtime, long address) Constructors in org.jruby.ext.ffi with parameters of type RubyModifierConstructorDescriptionprotectedAbstractInvoker(Ruby runtime, RubyClass klass, int arity, MemoryIO io) Creates a new AbstractInvoker instance.protectedAbstractMemory(Ruby runtime, RubyClass klass, MemoryIO io, long size) protectedAbstractMemory(Ruby runtime, RubyClass klass, MemoryIO io, long size, int typeSize) Initializes a new Type.Array instance.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) (package private)ArrayProxy(Ruby runtime, RubyClass klass, IRubyObject ptr, long offset, Type.Array type, MemoryOp aio) (package private)ArrayProxy(Ruby runtime, IRubyObject ptr, long offset, Type.Array type, MemoryOp aio) AutoPointer(Ruby runtime, RubyClass klazz) privateBuffer(Ruby runtime, IRubyObject klass, MemoryIO io, long size, int typeSize, int inout) privateBuiltin(Ruby runtime, RubyClass klass, NativeType nativeType, String symName) Initializes a new BuiltinType instance.CallbackInfo(Ruby runtime, RubyClass klazz, Type returnType, Type[] paramTypes, boolean stdcall) Creates a new CallbackInfo instance.(package private)CharArrayProxy(Ruby runtime, IRubyObject ptr, long offset, Type.Array type, MemoryOp aio) private(package private)(package private)Field(Ruby runtime, RubyClass klass, StructLayout.FieldIO io) (package private)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, String message) privateMappedType(Ruby runtime, RubyClass klass, Type nativeType, IRubyObject converter, boolean isRefererenceRequired) protectedMemoryObject(Ruby runtime, RubyClass metaClass) MemoryPointer(Ruby runtime, RubyClass klass) privateMemoryPointer(Ruby runtime, IRubyObject klass, MemoryIO io, long total, int typeSize) NullMemoryIO(Ruby runtime) NumberField(Ruby runtime, RubyClass klass) protectedprotectedprotectedPointerField(Ruby runtime, RubyClass klass) StringField(Ruby runtime, RubyClass klass) (package private)Creates a new StructLayout instance using defaults.Creates a new StructLayout instance.(package private)Struct(Ruby runtime, RubyClass klass, StructLayout layout, IRubyObject memory) Creates a new StructLayout instance.(package private)StructByValue(Ruby runtime, RubyClass structClass, StructLayout structLayout) privateStructByValue(Ruby runtime, RubyClass klass, RubyClass structClass, StructLayout structLayout) privateStructLayout(Ruby runtime, RubyClass klass, Collection<IRubyObject> fields, int size, int alignment) Creates a new StructLayout instance.(package private)SwappedMemoryIO(Ruby runtime, MemoryIO io) protectedType(Ruby runtime, RubyClass klass, NativeType type) Initializes a new Type instance.protectedType(Ruby runtime, RubyClass klass, NativeType type, int size, int alignment) Initializes a new Type instance. -
Uses of Ruby in org.jruby.ext.ffi.io
Methods in org.jruby.ext.ffi.io with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassFileDescriptorIO.createFileDescriptorIOClass(Ruby runtime, RubyModule module) private static jnr.posix.LibCConstructors in org.jruby.ext.ffi.io with parameters of type RubyModifierConstructorDescriptionFileDescriptorByteChannel(Ruby runtime, int fd) Creates a new FileDescriptorByteChannel.FileDescriptorIO(Ruby runtime, RubyClass klass) FileDescriptorIO(Ruby runtime, IRubyObject fd) -
Uses of Ruby in org.jruby.ext.ffi.jffi
Fields in org.jruby.ext.ffi.jffi declared as RubyModifier and TypeFieldDescriptionprivate final RubyBoundedNativeMemoryIO.runtimeprivate final RubyNativeCallbackFactory.runtimeprotected final RubyNativeClosureProxy.runtimeprivate final RubyNativeMemoryIO.runtimeMethods in org.jruby.ext.ffi.jffi that return RubyMethods in org.jruby.ext.ffi.jffi with parameters of type RubyModifier and TypeMethodDescription(package private) static final AllocatedNativeMemoryIOAllocates native memory(package private) CachingNativeMemoryAllocator.AllocatedMemoryIO(package private) static AllocatedNativeMemoryIOAllocatedNativeMemoryIO.allocateAligned(Ruby runtime, int size, int align, boolean clear) Allocates native memory, aligned to a minimum boundary.(package private) static MemoryIOCachingNativeMemoryAllocator.allocateAligned(Ruby runtime, int size, int align, boolean clear) Allocates native memory, aligned to a minimum boundary.(package private) static MemoryIOTransientNativeMemoryIO.allocateAligned(Ruby runtime, int size, int align, boolean clear) Allocates native memory, aligned to a minimum boundary.Factory.allocateDirectMemory(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.Factory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in a MemoryIO accessor.Factory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) static RubyClassCallbackManager.createCallbackClass(Ruby runtime, RubyModule module) Creates a Callback class for a ruby runtimestatic RubyClassDynamicLibrary.createDynamicLibraryClass(Ruby runtime, RubyModule module) static final DynamicMethodMethodFactory.createDynamicMethod(Ruby runtime, RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno) static RubyClassFunction.createFunctionClass(Ruby runtime, RubyModule module) static RubyClassJFFIInvoker.createInvokerClass(Ruby runtime, RubyModule module) static RubyClassVariadicInvoker.createVariadicInvokerClass(Ruby runtime, RubyModule module) private static final IRubyObjectNativeClosureProxy.fromNative(Ruby runtime, Type type, com.kenai.jffi.Closure.Buffer buffer, int index) Converts a native value into a ruby object.final PointerCallbackManager.getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc) final NativeCallbackFactoryCallbackManager.getCallbackFactory(Ruby runtime, CallbackInfo cbInfo) (package private) static final IRubyObjectReads a nul-terminated string from native memory and boxes it up in a ruby string.private static final IRubyObjectNativeClosureProxy.getStringParameter(Ruby runtime, com.kenai.jffi.Closure.Buffer buffer, int index) Converts a native string value into a ruby string object.voidFactory.init(Ruby runtime, RubyModule ffi) static IRubyObjectJITRuntime.newBoolean(Ruby runtime, int value) static IRubyObjectJITRuntime.newBoolean(Ruby runtime, long value) (package private) final CallbackMemoryIOCallbackManager.newClosure(Ruby runtime, Type returnType, Type[] parameterTypes, Object proc, com.kenai.jffi.CallingConvention convention) static IRubyObjectJITRuntime.newFloat32(Ruby runtime, int value) static IRubyObjectJITRuntime.newFloat32(Ruby runtime, long value) static IRubyObjectJITRuntime.newFloat64(Ruby runtime, long value) Factory.newFunction(Ruby runtime, Pointer address, CallbackInfo cbInfo) private final NativeFunctionInfoNativeCallbackFactory.newFunctionInfo(Ruby runtime, CallbackInfo cbInfo) static IRubyObjectstatic IRubyObjectstatic IRubyObjectJITRuntime.newPointer32(Ruby runtime, int address) static IRubyObjectJITRuntime.newPointer32(Ruby runtime, long address) static IRubyObjectJITRuntime.newPointer64(Ruby runtime, long address) static IRubyObjectJITRuntime.newSigned16(Ruby runtime, int value) static IRubyObjectJITRuntime.newSigned16(Ruby runtime, long value) static IRubyObjectJITRuntime.newSigned32(Ruby runtime, int value) static IRubyObjectJITRuntime.newSigned32(Ruby runtime, long value) static IRubyObjectJITRuntime.newSigned64(Ruby runtime, long value) static IRubyObjectJITRuntime.newSigned8(Ruby runtime, int value) static IRubyObjectJITRuntime.newSigned8(Ruby runtime, long value) static IRubyObjectstatic IRubyObjectstatic IRubyObjectJITRuntime.newUnsigned16(Ruby runtime, int value) static IRubyObjectJITRuntime.newUnsigned16(Ruby runtime, long value) static IRubyObjectJITRuntime.newUnsigned32(Ruby runtime, int value) static IRubyObjectJITRuntime.newUnsigned32(Ruby runtime, long value) static IRubyObjectJITRuntime.newUnsigned64(Ruby runtime, long value) static IRubyObjectJITRuntime.newUnsigned8(Ruby runtime, int value) static IRubyObjectJITRuntime.newUnsigned8(Ruby runtime, long value) private static final voidNativeClosureProxy.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 final MemoryIOFactory.wrapDirectMemory(Ruby runtime, long address) Constructors in org.jruby.ext.ffi.jffi with parameters of type RubyModifierConstructorDescriptionprivateAllocatedMemoryIO(Ruby runtime, Object sentinel, CachingNativeMemoryAllocator.MemoryAllocation allocation, int size) privateAllocatedNativeMemoryIO(Ruby runtime, Object sentinel, long address, int size, int align) (package private)BoundedNativeMemoryIO(Ruby runtime, long address, int size) (package private)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, Object proc) CodeMemoryIO(Ruby runtime, long address) CodeMemoryIO(Ruby runtime, Pointer pointer) DataSymbolMemoryIO(Ruby runtime, DynamicLibrary library, long address) DynamicLibrary(Ruby runtime, RubyClass klass, String name, com.kenai.jffi.Library library) (package private)Function(Ruby runtime, RubyClass klass, MemoryIO address, NativeFunctionInfo functionInfo, IRubyObject enums) (package private)Function(Ruby runtime, RubyClass klass, MemoryIO address, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean saveError) (package private)JFFIInvoker(Ruby runtime, long address, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention) (package private)JFFIInvoker(Ruby runtime, RubyClass klass, MemoryIO fptr, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums) NativeCallbackFactory(Ruby runtime, CallbackInfo cbInfo) (package private)NativeCallbackPointer(Ruby runtime, RubyClass klass, com.kenai.jffi.Closure.Handle handle, CallbackInfo cbInfo, NativeFunctionInfo closureInfo) (package private)NativeClosureProxy(Ruby runtime, NativeFunctionInfo closureInfo, Object proc) (package private)NativeClosureProxy(Ruby runtime, NativeFunctionInfo closureInfo, Object proc, CallSite callSite) NativeFunctionInfo(Ruby runtime, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention) (package private)NativeMemoryIO(Ruby runtime, long address) Symbol(Ruby runtime, DynamicLibrary library, String name, MemoryIO io) TextSymbolMemoryIO(Ruby runtime, DynamicLibrary library, long address) privateTransientNativeMemoryIO(Ruby runtime, Object sentinel, long address, int size) privateVariadicInvoker(Ruby runtime, IRubyObject klazz, Pointer address, FunctionInvoker functionInvoker, com.kenai.jffi.Type returnType, int fixedParamCount, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean saveError) -
Uses of Ruby in org.jruby.ext.fiber
Fields in org.jruby.ext.fiber declared as RubyMethods in org.jruby.ext.fiber with parameters of type RubyModifier and TypeMethodDescriptionThreadFiberLibrary.createFiberClass(Ruby runtime) (package private) static RubyThreadThreadFiber.createThread(Ruby runtime, ThreadFiber.FiberData data, FiberQueue queue, Block block) private static ThreadFiber.FiberDataThreadFiber.verifyCurrentFiber(ThreadContext context, Ruby runtime) Constructors in org.jruby.ext.fiber with parameters of type RubyModifierConstructorDescriptionFiberQueue(Ruby runtime) ThreadFiber(Ruby runtime, RubyClass klass) -
Uses of Ruby in org.jruby.ext.io.nonblock
Methods in org.jruby.ext.io.nonblock with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.io.wait
Methods in org.jruby.ext.io.wait with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.jruby
Fields in org.jruby.ext.jruby declared as RubyModifier and TypeFieldDescriptionprotected final RubyJRubyObjectInputStream.JRubyObjectInputStreamImpl.runtimeMethods in org.jruby.ext.jruby with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassJRubyObjectInputStream.createJRubyObjectInputStream(Ruby runtime) voidvoidvoidprivate static booleanJRubyUtilLibrary.loadExtension(Ruby runtime, String className) static voidCoreExt.loadStringExtensions(Ruby runtime) Constructors in org.jruby.ext.jruby with parameters of type RubyModifierConstructorDescriptionJRubyExecutionContextLocal(Ruby runtime, RubyClass type) JRubyFiberLocal(Ruby runtime, RubyClass type) JRubyObjectInputStream(Ruby runtime, RubyClass rubyClass) JRubyObjectInputStreamImpl(Ruby runtime, InputStream in) JRubyThreadLocal(Ruby runtime, RubyClass type) -
Uses of Ruby in org.jruby.ext.mathn
Methods in org.jruby.ext.mathn with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.monitor
Methods in org.jruby.ext.monitor with parameters of type RubyModifier and TypeMethodDescriptionstatic voidMonitor.createMonitorClass(Ruby runtime) static voidvoidConstructors in org.jruby.ext.monitor with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.nkf
Methods in org.jruby.ext.nkf with parameters of type RubyModifier and TypeMethodDescriptionprivate static IRubyObjectRubyNKF.charsetMappedValue(Ruby runtime, RubyNKF.NKFCharset charset) static voidprivate static RubyStringRubyNKF.Converter.encodeMimeString(Ruby runtime, RubyString str, ByteList format) static void -
Uses of Ruby in org.jruby.ext.pathname
Methods in org.jruby.ext.pathname with parameters of type RubyModifier and TypeMethodDescription(package private) static voidRubyPathname.createPathnameClass(Ruby runtime) voidConstructors in org.jruby.ext.pathname with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.rbconfig
Methods in org.jruby.ext.rbconfig with parameters of type RubyModifier and TypeMethodDescriptionstatic StringRbConfigLibrary.getArchDir(Ruby runtime) static Stringstatic StringRbConfigLibrary.getNormalizedHome(Ruby runtime) static StringRbConfigLibrary.getRubygemsDir(Ruby runtime) static StringRbConfigLibrary.getRubyLibDir(Ruby runtime) static StringRbConfigLibrary.getRubyLibDirFor(Ruby runtime, String runtimeVerStr) static StringRbConfigLibrary.getRubySharedLibDir(Ruby runtime) static StringRbConfigLibrary.getRuntimeVerStr(Ruby runtime) static StringRbConfigLibrary.getSiteArchDir(Ruby runtime) static StringRbConfigLibrary.getSiteDir(Ruby runtime) static StringRbConfigLibrary.getSiteDirGeneral(Ruby runtime) static StringRbConfigLibrary.getSiteLibDir(Ruby runtime) static StringRbConfigLibrary.getSysConfDir(Ruby runtime) static StringRbConfigLibrary.getVendorArchDir(Ruby runtime) static StringRbConfigLibrary.getVendorDir(Ruby runtime) static StringRbConfigLibrary.getVendorDirGeneral(Ruby runtime) static StringRbConfigLibrary.getVendorLibDir(Ruby runtime) static BooleanRbConfigLibrary.isSiteVendorSame(Ruby runtime) voidJust enough configuration settings (most don't make sense in Java) to run the rubytests unit tests. -
Uses of Ruby in org.jruby.ext.ripper
Methods in org.jruby.ext.ripper that return RubyModifier and TypeMethodDescriptionRipperLexer.getRuntime()RipperParserBase.getRuntime()Warnings.getRuntime()Methods in org.jruby.ext.ripper with parameters of type RubyModifier and TypeMethodDescriptionprivate static IRubyObjectRubyRipper.createParserEventTable(Ruby runtime, RubyClass ripper) private static IRubyObjectRubyRipper.createScannerEventTable(Ruby runtime, RubyClass ripper) private static voidRubyRipper.defineLexStateConstants(Ruby runtime, RubyClass ripper) static voidRubyRipper.initRipper(Ruby runtime) voidConstructors in org.jruby.ext.ripper with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.securerandom
Methods in org.jruby.ext.securerandom with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.set
Fields in org.jruby.ext.set declared as RubyMethods in org.jruby.ext.set with parameters of type RubyModifier and TypeMethodDescriptionprotected voidRubySet.addImpl(Ruby runtime, IRubyObject obj) protected voidRubySortedSet.addImpl(Ruby runtime, IRubyObject obj) (package private) final void(package private) final void(package private) static RubyClassRubySet.createSetClass(Ruby runtime) (package private) static RubyClassRubySortedSet.createSortedSetClass(Ruby runtime) (package private) static RubyModuleprivate RubyStringRubySet.inspectEmpty(Ruby runtime) private RubyStringRubySet.inspectRecurse(Ruby runtime) static voidvoidvoidRubySet.SetMarshal.marshalTo(Ruby runtime, Object obj, RubyClass type, MarshalStream marshalStream) protected final voidRubySet.modifyCheck(Ruby runtime) static RubySetConstruct a new Set.static RubySetConstruct a new Set.(package private) RubySetRubySet.newSetFast(Ruby runtime) Construct a new Set with the same class as this one.(package private) static IRubyObjectRubySet.SetMarshal.unmarshalFrom(Ruby runtime, RubyClass type, UnmarshalStream unmarshalStream) Constructors in org.jruby.ext.set with parameters of type RubyModifierConstructorDescription(package private)DivideTSortHash(Ruby runtime, RubyClass metaClass) (package private)(package private)OrderComparator(Ruby runtime) protectedprotectedRubySortedSet(Ruby runtime, RubyClass klass) -
Uses of Ruby in org.jruby.ext.socket
Methods in org.jruby.ext.socket with parameters of type RubyModifier and TypeMethodDescriptionRubyTCPServer.accept_nonblock(ThreadContext context, Ruby runtime, boolean ex) RubyUNIXServer.accept_nonblock(ThreadContext context, Ruby runtime, boolean ex) (package private) static RaiseExceptionRubySocket.buildSocketException(Ruby runtime, SocketException ex, String caller, SocketAddress addr) static voidAddrinfo.createAddrinfo(Ruby runtime) (package private) static voidRubyBasicSocket.createBasicSocket(Ruby runtime) static voidIfaddr.createIfaddr(Ruby runtime) (package private) static voidRubyIPSocket.createIPSocket(Ruby runtime) static voidOption.createOption(Ruby runtime) (package private) static voidRubyServerSocket.createServerSocket(Ruby runtime) (package private) static voidRubySocket.createSocket(Ruby runtime) (package private) static voidRubyTCPServer.createTCPServer(Ruby runtime) (package private) static voidRubyTCPSocket.createTCPSocket(Ruby runtime) (package private) static voidRubyUDPSocket.createUDPSocket(Ruby runtime) (package private) static voidRubyUNIXServer.createUNIXServer(Ruby runtime) (package private) static voidRubyUNIXSocket.createUNIXSocket(Ruby runtime) private static IRubyObjectRubyUDPSocket.doReceive(RubyBasicSocket socket, Ruby runtime, boolean non_block, int length) protected static IRubyObjectRubyUDPSocket.doReceive(RubyBasicSocket socket, Ruby runtime, boolean non_block, int length, RubyBasicSocket.ReceiveTuple tuple) private static IRubyObjectRubyUDPSocket.doReceiveMulticast(RubyBasicSocket socket, Ruby runtime, boolean non_block, int length, RubyBasicSocket.ReceiveTuple tuple) private static RubyBasicSocket.ReceiveTupleRubyUDPSocket.doReceiveNonblockTuple(RubyBasicSocket socket, Ruby runtime, int length) private static RubyBasicSocket.ReceiveTupleRubyUDPSocket.doReceiveTuple(RubyBasicSocket socket, Ruby runtime, boolean non_block, int length) private IRubyObjectRubyBasicSocket.handleReturnBytes(Ruby runtime, ByteList bytes, IRubyObject str, String exMessage, boolean exception) protected voidprotected voidprotected voidRubyUNIXSocket.init_unixsock(Ruby runtime, IRubyObject _path, boolean server) protected ChannelFDRubyServerSocket.initChannelFD(Ruby runtime) protected ChannelFDRubySocket.initChannelFD(Ruby runtime) private voidRubySocket.initFieldsFromDescriptor(Ruby runtime, ChannelFD fd) private voidRubySocket.initFromArgs(Ruby runtime, IRubyObject domain, IRubyObject type) private voidRubySocket.initFromArgs(Ruby runtime, IRubyObject domain, IRubyObject type, IRubyObject protocol) protected voidRubySocket.initFromServer(Ruby runtime, RubySocket serverSocket, SocketChannel socketChannel) voidprotected static ChannelFDRubyBasicSocket.newChannelFD(Ruby runtime, Channel channel) protected static voidRubyUNIXSocket.rb_sys_fail(Ruby runtime, String message) private voidprivate voidRubySocket.setDomain(Ruby runtime, IRubyObject domain) private voidRubySocket.setType(Ruby runtime, IRubyObject type) (package private) static RuntimeExceptionstatic RuntimeExceptionDeprecated.static RuntimeExceptionstatic RuntimeExceptionSocketUtils.sockerr_with_trace(Ruby runtime, String msg, StackTraceElement[] trace) private booleanRubySocket.tryConnect(ThreadContext context, Ruby runtime, Channel channel, SocketAddress addr, boolean ex, boolean blocking) private static RubyStringRubyUNIXSocket.unixsockPathValue(Ruby runtime, IRubyObject path) private static voidOption.validateDataSize(Ruby runtime, ByteList data, int size) Constructors in org.jruby.ext.socket with parameters of type RubyModifierConstructorDescriptionAddrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress) Addrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress, int port) Addrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress, int port, jnr.constants.platform.Sock sock) Addrinfo(Ruby runtime, RubyClass cls, NetworkInterface networkInterface, boolean isBroadcast) Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress) Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress, jnr.constants.platform.Sock sock, SocketType socketType) Ifaddr(Ruby runtime, RubyClass metaClass, NetworkInterface ni) Ifaddr(Ruby runtime, RubyClass metaClass, NetworkInterface ni, InterfaceAddress it) Option(Ruby runtime, jnr.constants.platform.ProtocolFamily family, jnr.constants.platform.SocketLevel level, jnr.constants.platform.SocketOption option, ByteList data) Option(Ruby runtime, RubyClass klass, jnr.constants.platform.ProtocolFamily family, jnr.constants.platform.SocketLevel level, jnr.constants.platform.SocketOption option, ByteList 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) -
Uses of Ruby in org.jruby.ext.stringio
Methods in org.jruby.ext.stringio with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassStringIO.createStringIOClass(Ruby runtime) voidprivate longStringIO.stringIOWrite(ThreadContext context, Ruby runtime, IRubyObject arg) private RubyStringStringIO.strioSubstr(Ruby runtime, int pos, int len, org.jcodings.Encoding enc) Constructors in org.jruby.ext.stringio with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.strscan
Methods in org.jruby.ext.strscan with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassRubyStringScanner.createScannerClass(Ruby runtime) private IRubyObjectRubyStringScanner.extractBegLen(Ruby runtime, int beg, int len) private IRubyObjectRubyStringScanner.extractRange(Ruby runtime, int beg, int end) voidConstructors in org.jruby.ext.strscan with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.syslog
Methods in org.jruby.ext.syslog with parameters of type RubyConstructors in org.jruby.ext.syslog with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.tempfile
Methods in org.jruby.ext.tempfile with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassTempfile.createTempfileClass(Ruby runtime) voidConstructors in org.jruby.ext.tempfile with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.thread
Constructors in org.jruby.ext.thread with parameters of type RubyModifierConstructorDescriptionConditionVariable(Ruby runtime, RubyClass type) protectedSizedQueue(Ruby runtime, RubyClass type) SizedQueue(Ruby runtime, RubyClass type, int max) -
Uses of Ruby in org.jruby.ext.timeout
Methods in org.jruby.ext.timeout with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.tracepoint
Methods in org.jruby.ext.tracepoint with parameters of type RubyConstructors in org.jruby.ext.tracepoint with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.zlib
Methods in org.jruby.ext.zlib with parameters of type RubyModifier and TypeMethodDescriptionprivate static voidJZlibRubyGzipWriter.checkLevel(Ruby runtime, int level) (package private) static voidZStream.checkLevel(Ruby runtime, int level) (package private) static voidZStream.checkStrategy(Ruby runtime, int strategy) (package private) static voidZStream.checkWindowBits(Ruby runtime, int wbits, boolean forInflate) We only do windowBits=15(32K buffer, LZ77 algorithm) since java.util.zip only allows it.static RubyModuleRubyZlib.createZlibModule(Ruby runtime) Create the Zlib module and add it to the Ruby runtime.void(package private) static RaiseExceptionRubyZlib.newBufError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newCRCError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newDataError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newDictError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newGzipFileError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newGzipFileError(Ruby runtime, String klass, String message) (package private) static RaiseExceptionRubyZlib.newLengthError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newNoFooter(Ruby runtime, String message) protected RubyString(package private) static RaiseExceptionRubyZlib.newStreamError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newZlibError(Ruby runtime, String message) (package private) static RaiseExceptionRubyZlib.newZlibError(Ruby runtime, String klass, String message) private intJZlibRubyGzipWriter.processLevel(int argc, IRubyObject[] args, Ruby runtime) Constructors in org.jruby.ext.zlib with parameters of type RubyModifierConstructorDescriptionJZlibDeflate(Ruby runtime, RubyClass type) JZlibInflate(Ruby runtime, RubyClass type) JZlibRubyGzipReader(Ruby runtime, RubyClass type) JZlibRubyGzipWriter(Ruby runtime, RubyClass type) RubyGzipFile(Ruby runtime, RubyClass type) -
Uses of Ruby in org.jruby.internal.runtime
Fields in org.jruby.internal.runtime declared as RubyModifier and TypeFieldDescriptionprivate final RubyGlobalVariables.runtimeprivate final RubyRubyRunnable.runtimeprivate final RubyThreadService.runtimeprivate final RubyUndefinedAccessor.runtimeMethods in org.jruby.internal.runtime with parameters of type RubyModifier and TypeMethodDescriptionstatic GlobalVariableGlobalVariable.newUndefined(Ruby runtime, String name) Constructors in org.jruby.internal.runtime with parameters of type RubyModifierConstructorDescriptionGlobalVariables(Ruby runtime) ThreadService(Ruby runtime) UndefinedAccessor(Ruby runtime, GlobalVariable globalVariable, String name) Constructor for UndefinedAccessor. -
Uses of Ruby in org.jruby.internal.runtime.methods
Methods in org.jruby.internal.runtime.methods with parameters of type RubyModifier and TypeMethodDescriptionstatic Callable<MethodHandle>InvokeDynamicMethodFactory.adaptHandle(MethodHandle method, Ruby runtime, int actualRequired, int required, int optional, boolean rest, String rubyName, Class declaringClass, boolean isStatic, boolean hasContext, boolean hasBlock, boolean frame, RubyModule implementationClass) private Callable<MethodHandle>[]InvokeDynamicMethodFactory.buildAnnotatedMethodHandles(Ruby runtime, List<JavaMethodDescriptor> descs, RubyModule implementationClass) static MethodHandleInvokeDynamicMethodFactory.finishAdapting(com.headius.invokebinder.SmartBinder binder, RubyModule implementationClass, String rubyName, MethodHandle method, Class declaringClass, Ruby runtime, boolean isStatic, boolean frame) -
Uses of Ruby in org.jruby.ir
Fields in org.jruby.ir declared as RubyMethods in org.jruby.ir that return RubyMethods in org.jruby.ir with parameters of type RubyModifier and TypeMethodDescriptionprotected ScriptAndCodeCompiler.execute(Ruby runtime, IRScriptBody scope, ClassDefiningClassLoader classLoader) protected abstract RIRTranslator.execute(Ruby runtime, IRScriptBody producedIrScope, S specificObject) IRTranslator.execute(Ruby runtime, ParseResult result, S specificObject) Constructors in org.jruby.ir with parameters of type Ruby -
Uses of Ruby in org.jruby.ir.interpreter
Methods in org.jruby.ir.interpreter with parameters of type RubyModifier and TypeMethodDescriptionprotected IRubyObjectInterpreter.execute(Ruby runtime, IRScriptBody irScope, IRubyObject self) -
Uses of Ruby in org.jruby.ir.operands
Methods in org.jruby.ir.operands that return RubyMethods in org.jruby.ir.operands with parameters of type Ruby -
Uses of Ruby in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime with parameters of type RubyModifier and TypeMethodDescriptionstatic voidIRRuntimeHelpers.aliasGlobalVariable(Ruby runtime, Object newName, Object oldName) static RubyHashIRRuntimeHelpers.constructHashFromArray(Ruby runtime, IRubyObject[] pairs) static IRScopeIRRuntimeHelpers.decodeScopeFromBytes(Ruby runtime, byte[] scopeBytes, String filename) static final ByteListIRRuntimeHelpers.newByteListFromRaw(Ruby runtime, String str, String encoding) static DynamicMethodIRRuntimeHelpers.newInterpretedMetaClass(Ruby runtime, IRScope metaClassBody, IRubyObject obj) Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.private static RubyClassIRRuntimeHelpers.newMetaClassFromIR(Ruby runtime, StaticScope scope, IRubyObject obj, boolean refinements) static IRubyObjectstatic RubyModuleIRRuntimeHelpers.newRubyClassFromIR(Ruby runtime, String id, StaticScope scope, Object superClass, Object container, boolean maybeRefined) static booleanIRRuntimeHelpers.shouldPrintIR(Ruby runtime) If the ir.print property is enabled and we are not booting, or the ir.print.all property is enabled and we are booting, return true to indicate IR should be printed.private static IRubyObjectIRRuntimeHelpers.wrapWithNativeException(ThreadContext context, Throwable throwable, Ruby runtime) -
Uses of Ruby in org.jruby.ir.targets
Fields in org.jruby.ir.targets declared as RubyMethods in org.jruby.ir.targets with parameters of type RubyConstructors in org.jruby.ir.targets with parameters of type RubyModifierConstructorDescription(package private)JVMVisitor(Ruby runtime, BytecodeMode bytecodeMode) -
Uses of Ruby in org.jruby.ir.targets.indy
Methods in org.jruby.ir.targets.indy that return RubyModifier and TypeMethodDescriptionstatic RubyBootstrap.runtime(ThreadContext context, MutableCallSite site) Methods in org.jruby.ir.targets.indy with parameters of type RubyModifier and TypeMethodDescriptionprivate voidConstantLookupSite.bind(Ruby runtime, RubyModule module, IRubyObject constant, MethodHandle cachingFallback) static IRubyObjectBootstrap.booleanOrNil(Ruby runtime, Boolean b) static IRubyObjectBootstrap.fixnumOrNil(Ruby runtime, Byte b) static IRubyObjectBootstrap.fixnumOrNil(Ruby runtime, Character c) static IRubyObjectBootstrap.fixnumOrNil(Ruby runtime, Integer i) static IRubyObjectBootstrap.fixnumOrNil(Ruby runtime, Long l) static IRubyObjectBootstrap.fixnumOrNil(Ruby runtime, Short s) static IRubyObjectBootstrap.floatOrNil(Ruby runtime, Double d) static IRubyObjectBootstrap.floatOrNil(Ruby runtime, Float f) static IRubyObjectBootstrap.stringOrNil(Ruby runtime, CharSequence cs) -
Uses of Ruby in org.jruby.ir.targets.simple
Methods in org.jruby.ir.targets.simple with parameters of type RubyModifier and TypeMethodDescriptionprivate IRubyObjectConstantLookupSite.cacheInheritanceSearchConst(Ruby runtime, RubyModule module) private IRubyObjectConstantLookupSite.cacheSearchModuleForConst(Ruby runtime, RubyModule module, boolean publicOnly) -
Uses of Ruby in org.jruby.java.addons
Methods in org.jruby.java.addons with parameters of type RubyModifier and TypeMethodDescriptionprivate static JavaProxyClassJavaAddons.asJavaClass(Ruby runtime, Class<?> reifiedClass) private static RubyArrayArrayJavaAddons.calcDimensions(Ruby runtime, RubyArray array, RubyArray dims, int index) (package private) static ArrayJavaProxyKernelJavaAddons.toJavaArray(Ruby runtime, Class<?> type, RubyArray fromArray) private static ObjectKernelJavaAddons.toJavaArrayInternal(Ruby runtime, Class<?> type, RubyArray fromArray) -
Uses of Ruby in org.jruby.java.codegen
Methods in org.jruby.java.codegen with parameters of type RubyModifier and TypeMethodDescriptionstatic ClassRealClassGenerator.createOldStyleImplClass(Class[] superTypes, RubyClass rubyClass, Ruby ruby, String name, ClassDefiningClassLoader classLoader) static ClassRealClassGenerator.createRealImplClass(Class superClass, Class<?>[] interfaces, RubyClass rubyClass, Ruby ruby, String name) static ClassRealClassGenerator.defineOldStyleImplClass(Ruby ruby, String name, String[] superTypeNames, Map<String, List<Method>> simpleToAll, ClassDefiningClassLoader loader) This variation on defineImplClass uses all the classic type coercion logic for passing args and returning results.static ClassRealClassGenerator.defineRealImplClass(Ruby runtime, String name, Class superClass, String[] superTypeNames, Map<String, List<Method>> simpleToAll) This variation on defineImplClass uses all the classic type coercion logic for passing args and returning results. -
Uses of Ruby in org.jruby.java.dispatch
Methods in org.jruby.java.dispatch with parameters of type RubyModifier and TypeMethodDescriptionprivate static <T extends ParameterTypes>
TCallableSelector.findMatchingCallableForArgs(Ruby runtime, T[] methods, IRubyObject... args) private static <T extends ParameterTypes>
TCallableSelector.findMatchingCallableForArgsFallback(Ruby runtime, T[] methods, IRubyObject... args) static JavaCallableCallableSelector.matchingCallableArityFour(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityFour(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityFour(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) static JavaCallableCallableSelector.matchingCallableArityN(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject[] args) Deprecated.static ParameterTypesCallableSelector.matchingCallableArityN(Ruby runtime, Map cache, ParameterTypes[] methods, IRubyObject[] args) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityN(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject[] args) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityN(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject[] args) static JavaCallableCallableSelector.matchingCallableArityOne(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityOne(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityOne(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0) static JavaCallableCallableSelector.matchingCallableArityThree(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityThree(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityThree(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static JavaCallableCallableSelector.matchingCallableArityTwo(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityTwo(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityTwo(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityZero(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods) -
Uses of Ruby in org.jruby.java.invokers
Fields in org.jruby.java.invokers declared as RubyMethods in org.jruby.java.invokers with parameters of type RubyModifier and TypeMethodDescriptionprotected JavaCallableConstructorInvoker.createCallable(Ruby ruby, Member member) protected final JavaCallableMethodInvoker.createCallable(Ruby runtime, Member member) protected abstract TRubyToJavaInvoker.createCallable(Ruby runtime, Member member) protected final IRubyObjectFieldMethodZero.handleGetException(Ruby runtime, IllegalAccessException ex) protected final IRubyObjectFieldMethodOne.handleSetException(Ruby runtime, IllegalAccessException ex) protected final IRubyObjectFieldMethodOne.handleSetException(Ruby runtime, IllegalArgumentException ex) -
Uses of Ruby in org.jruby.java.proxies
Methods in org.jruby.java.proxies with parameters of type RubyModifier and TypeMethodDescriptionprivate static voidJavaInterfaceTemplate.checkAlreadyReified(RubyClass clazz, Ruby runtime) private static voidJavaProxy.checkArgSizeMismatch(Ruby runtime, int expected, RubyArray argTypes) static RubyClassMapJavaProxy.createMapJavaProxy(Ruby runtime) static intConcreteJavaProxy.findSuperLine(Ruby runtime, DynamicMethod dm, int start) private MapJavaProxy.RubyHashMapMapJavaProxy.getOrCreateRubyHashMap(Ruby runtime) private static RubyStringArrayJavaProxy.inspectCharArrayPart(Ruby runtime, StringBuilder buffer, char[] ary, int len) private RubyStringArrayJavaProxy.inspectPrimitiveArray(Ruby runtime, Class<?> componentClass) static ArrayJavaProxyprotected final voidMapJavaProxy.RubyHashMap.op_asetForString(Ruby runtime, RubyString key, IRubyObject value) protected final voidMapJavaProxy.RubyHashMap.op_asetSmallForString(Ruby runtime, RubyString key, IRubyObject value) (package private) static voidJavaProxy.setJavaClass(Ruby runtime, InternalVariables target, Class<?> javaClass) ArrayJavaProxy.setValue(Ruby runtime, int index, IRubyObject value) static voidConcreteJavaProxy.StaticJCreateMethod.tryInstall(Ruby runtime, RubyClass clazz, JavaProxyClass proxyClass, Class<? extends ReifiedJavaProxy> reified, boolean overwriteInitialize) Constructors in org.jruby.java.proxies with parameters of type RubyModifierConstructorDescriptionArrayJavaProxy(Ruby runtime, RubyClass klazz, Object array) ArrayJavaProxy(Ruby runtime, RubyClass klazz, Object array, JavaUtil.JavaConverter converter) privateArrayJavaProxyCreator(Ruby runtime, Class<?> elementType) ConcreteJavaProxy(Ruby runtime, RubyClass klazz) ConcreteJavaProxy(Ruby runtime, RubyClass klazz, Object object) InterfaceJavaProxy(Ruby runtime, RubyClass klazz) MapJavaProxy(Ruby runtime, RubyClass klazz) MapJavaProxy(Ruby runtime, RubyClass klazz, Map map) (package private)RubyHashMap(Ruby runtime, MapJavaProxy receiver) SplitCtorData(IRubyObject[] args, Java.JCtorCache cache, Ruby rt) Picks and converts arguments for the super call Leaves ctorIndex and arguments ready for the super callSplitCtorData(IRubyObject[] args, Java.JCtorCache cache, Ruby rt, AbstractIRMethod air2, String name2, Block blk2) SplitCtorData(IRubyObject[] args, Java.JCtorCache cache, Ruby rt, AbstractIRMethod air2, SplitSuperState<?> state2, Block blk2) -
Uses of Ruby in org.jruby.java.util
Methods in org.jruby.java.util with parameters of type RubyModifier and TypeMethodDescriptionstatic IRubyObjectArrayUtils.arefDirect(Ruby runtime, Object array, JavaUtil.JavaConverter javaConverter, int index) static IRubyObjectArrayUtils.asetDirect(Ruby runtime, Object array, JavaUtil.JavaConverter javaConverter, int index, IRubyObject value) private static RaiseExceptionArrayUtils.mapArrayStoreException(Ruby runtime, Object array, Class<?> type) private static RaiseExceptionArrayUtils.mapIllegalArgumentException(Ruby runtime, Object array, Class<?> type) private static RaiseExceptionArrayUtils.mapIndexOutOfBoundsException(Ruby runtime, Object array, int index) static ArrayJavaProxyArrayUtils.newProxiedArray(Ruby runtime, Class<?> componentType, int size) static ArrayJavaProxyArrayUtils.newProxiedArray(Ruby runtime, Class<?> componentType, JavaUtil.JavaConverter converter, int size) static voidArrayUtils.setWithExceptionHandlingDirect(Ruby runtime, Object array, int index, Object javaValue) -
Uses of Ruby in org.jruby.javasupport
Fields in org.jruby.javasupport declared as RubyModifier and TypeFieldDescriptionprivate final RubyJavaEmbedUtils.InterpretedEvalUnit.runtimeprotected final RubyJavaSupport.runtimeMethods in org.jruby.javasupport that return RubyModifier and TypeMethodDescriptionstatic RubyJavaEmbedUtils.initialize(List<String> loadPaths) Get an instance of a JRuby runtime.static RubyJavaEmbedUtils.initialize(List<String> loadPaths, RubyInstanceConfig config) Get an instance of a JRuby runtime.Methods in org.jruby.javasupport with parameters of type RubyModifier and TypeMethodDescriptionprivate static booleanJava.allowUppercasePackageNames(Ruby runtime) JavaArray.arefDirect(Ruby runtime, int intIndex) JavaArray.asetDirect(Ruby runtime, int intIndex, IRubyObject value) private static booleanJava.bindJavaPackageOrClassMethod(Ruby runtime, String name, RubyModule packageOrClass) private static RubyArrayJavaClass.buildConstructors(Ruby runtime, Constructor<?>[] constructors) private static RubyArrayJavaClass.buildFieldResults(Ruby runtime, Field[] fields) private voidJavaMethod.checkInstanceof(Ruby runtime, Object javaInvokee) private static voidJava.checkJavaReservedNames(Ruby runtime, String name, boolean allowPrimitives) static IRubyObjectJava.constructProxy(Ruby runtime, Constructor<? extends IRubyObject> proxyConstructor, RubyClass clazz) abstract IRubyObjectstatic ObjectJavaUtil.convertArgument(Ruby runtime, Object argument, Class<?> parameterType) Deprecated.static IRubyObjectJavaUtil.convertJavaArrayElementToRuby(Ruby runtime, JavaUtil.JavaConverter converter, Object array, int i) static IRubyObject[]JavaUtil.convertJavaArrayToRuby(Ruby runtime, Object[] objects) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, boolean b) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, double d) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, float f) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, int i) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, long l) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, Object object) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, Object object, Class javaClass) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, JavaUtil.JavaConverter converter, Object object) Deprecated.static IRubyObjectJavaUtil.convertJavaToUsableRubyObject(Ruby runtime, Object object) Returns a usable RubyObject; for types that are not converted to Ruby native types, a Java proxy will be returned.static IRubyObjectJavaUtil.convertJavaToUsableRubyObjectWithConverter(Ruby runtime, Object object, JavaUtil.JavaConverter converter) private IRubyObjectJavaMethod.convertReturn(Ruby runtime, Object result) static IRubyObject[]JavaUtil.convertStringArrayToRuby(Ruby runtime, String[] strings, JavaUtil.StringConverter converter) private static IRubyObjectJavaField.convertToRuby(Ruby runtime, Object javaValue) Deprecated.static JavaConstructorJavaConstructor.create(Ruby runtime, Constructor<?> constructor) static JavaMethodDeprecated.static JavaMethodstatic JavaMethodJavaMethod.createDeclared(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) Deprecated.static RubyClassJavaArray.createJavaArrayClass(Ruby runtime, RubyModule Java) (package private) static RubyClassJavaArray.createJavaArrayClass(Ruby runtime, RubyModule Java, RubyClass JavaObject) static RubyModuleJavaArrayUtilities.createJavaArrayUtilitiesModule(Ruby runtime) (package private) static RubyClassJavaClass.createJavaClassClass(Ruby runtime, RubyModule Java, RubyClass JavaObject) static RubyClassJavaConstructor.createJavaConstructorClass(Ruby runtime, RubyModule javaModule) static RubyClassJavaField.createJavaFieldClass(Ruby runtime, RubyModule javaModule) Deprecated.static RubyClassJavaMethod.createJavaMethodClass(Ruby runtime, RubyModule javaModule) static RubyModuleJava.createJavaModule(Ruby runtime) static RubyClassJavaObject.createJavaObjectClass(Ruby runtime, RubyModule javaModule) (package private) static RubyClassJavaPackage.createJavaPackageClass(Ruby runtime, RubyModule Java) private static RubyModuleJava.createPackageModule(Ruby runtime, RubyModule parentModule, String name, String packageString) private static RubyClassJava.createProxyClass(Ruby runtime, RubyClass proxyClass, Class<?> javaClass, RubyClass superClass, boolean invokeInherited) (package private) static RubyModuleJava.createProxyClassForClass(Ruby runtime, Class<?> clazz) private static RubyBooleanJavaObject.equals(Ruby runtime, Object thisValue, IRubyObject other) static JavaProxyClassJavaSupportImpl.fetchJavaProxyClass(Ruby runtime, JavaSupport.ProxyClassKey classKey) static JavaClassJavaClass.forNameQuiet(Ruby runtime, String className) Deprecated.static JavaClassJavaClass.forNameVerbose(Ruby runtime, String className) Deprecated.static intJava.JCreateMethod.forTypes(IRubyObject[] args, Java.JCtorCache cache, Ruby runtime) Disambiguate which ctor index to call from the given cacheprivate static voidJava.generateClassProxy(Ruby runtime, Class<?> clazz, RubyClass proxy, RubyClass superClass) private static voidJava.generateInterfaceProxy(Ruby runtime, Class javaClass, RubyModule proxy) static JavaClassDeprecated.abstract IRubyObjectstatic RubyModuleJava.get_interface_module(Ruby runtime, IRubyObject java_class) static IRubyObjectJava.getInstance(Ruby runtime, Object rawJavaObject) Same as Java#getInstance(runtime, rawJavaObject, false).static IRubyObjectJava.getInstance(Ruby runtime, 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 RubyModuleJava.getInterfaceModule(Ruby runtime, Class javaClass) static RubyModuleJava.getInterfaceModule(Ruby runtime, JavaClass javaClass) Deprecated.static ClassJava.getJavaClass(Ruby runtime, String className) static ClassJava.getJavaClass(Ruby runtime, String className, boolean initialize) static RubyModuleJava.getJavaPackageModule(Ruby runtime, Package pkg) static RubyModuleJava.getJavaPackageModule(Ruby runtime, String packageString) static JavaCallableJavaClass.getMatchingCallable(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) static JavaConstructorJavaConstructor.getMatchingConstructor(Ruby runtime, Class<?> javaClass, Class<?>[] argumentTypes) static JavaMethodJavaMethod.getMatchingDeclaredMethod(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) private static RubyModuleJava.getPackageModule(Ruby runtime, String name) static RubyModuleJava.getProxyClass(Ruby runtime, Class<?> clazz) static RubyModuleJava.getProxyClass(Ruby runtime, JavaClass javaClass) static RubyClassJava.getProxyClassForObject(Ruby runtime, Object object) private static RubyModuleJava.getProxyClassOrNull(Ruby runtime, String className) static Constructor<? extends IRubyObject>Java.getRealClassConstructor(Ruby runtime, Class<? extends IRubyObject> proxyImplClass) static RubyArrayJavaClass.getRubyArray(Ruby runtime, Class<?>[] classes) Deprecated.private static RubyModuleJava.getTopLevelProxyOrPackage(Ruby runtime, String name, boolean cacheMethod) static ObjectJavaEmbedUtils.invokeMethod(Ruby runtime, Object receiver, String method, Object[] args, Class returnType) Convenience function for embeddersstatic IRubyObjectJavaUtil.java_to_ruby(Ruby runtime, IRubyObject object) Deprecated.static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, boolean value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, byte value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, char value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, double value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, float value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, int value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, long value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, short value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, Object value) Convert a java object to a Ruby object.voidstatic ClassJava.loadJavaClass(Ruby runtime, String className) (package private) static ClassJava.loadJavaClass(Ruby runtime, String className, boolean initialize) private static RaiseExceptionJava.mapGeneratedProxyException(Ruby runtime, InvocationTargetException e) private static RaiseExceptionJava.mapGeneratedProxyException(Ruby runtime, ReflectiveOperationException e) static RaiseExceptionJavaMethod.newArgSizeMismatchError(Ruby runtime, Class... argTypes) static RaiseExceptionJavaMethod.newMethodNotFoundError(Ruby runtime, Class target, String prettyName, String simpleName) (package private) static RubyModuleJavaPackage.newPackage(Ruby runtime, CharSequence name, RubyModule parent) (package private) static RaiseExceptionJavaPackage.packageMethodArgumentMismatch(Ruby runtime, RubyModule pkg, String method, int argsLength) static voidJavaAccessibleObject.registerRubyMethods(Ruby runtime, RubyClass result) static voidJavaCallable.registerRubyMethods(Ruby runtime, RubyClass result) protected static voidJavaObject.registerRubyMethods(Ruby runtime, RubyClass JavaObject) (package private) RubyModuleJavaPackage.relativeJavaProxyClass(Ruby runtime, IRubyObject name) (package private) static Class<?>Java.resolveClassType(Ruby runtime, IRubyObject type) private static Class<?>Java.resolveJavaClassArgument(Ruby runtime, IRubyObject java_class) static RubyModuleJava.resolveType(Ruby runtime, IRubyObject type) static ObjectJavaEmbedUtils.rubyToJava(Ruby runtime, IRubyObject value, Class type) Convert a Ruby object to a Java object.static JavaProxyClassJavaSupportImpl.saveJavaProxyClass(Ruby runtime, JavaSupport.ProxyClassKey classKey, JavaProxyClass klass) abstract voidJavaUtil.JavaConverter.set(Ruby runtime, Object array, int i, IRubyObject value) voidJavaUtil.StringConverter.set(Ruby runtime, Object array, int i, IRubyObject value) static RubyModuleJava.setProxyClass(Ruby runtime, RubyModule target, String constName, Class<?> javaClass) static voidDispose of the runtime you initialized.static IRubyObjectstatic RubyArrayJavaClass.toRubyArray(Ruby runtime, Class<?>[] classes) Deprecated.static IRubyObjectJavaUtil.trySimpleConversions(Ruby runtime, Object object) static RaiseExceptionJavaClass.undefinedFieldError(Ruby runtime, String javaClassName, String name) static JavaObjectJavaUtil.unwrapJavaObject(Ruby runtime, IRubyObject convertee, String errorMessage) Deprecated.static ObjectJavaUtil.unwrapJavaValue(Ruby runtime, IRubyObject object, String errorMessage) Deprecated.static IRubyObjectJava.wrap(Ruby runtime, IRubyObject java_object) static JavaObjectstatic IRubyObjectJava.wrapJavaObject(Ruby runtime, Object object) Constructors in org.jruby.javasupport with parameters of type RubyModifierConstructorDescription(package private)BlankSlateWrapper(Ruby runtime, RubyClass superClass, RubyModule delegate) protectedInterpretedEvalUnit(Ruby runtime, Node node) protectedJavaAccessibleObject(Ruby runtime, RubyClass rubyClass) (package private)JavaAccessibleObject(Ruby runtime, RubyClass rubyClass, boolean objectSpace) protectedJavaCallable(Ruby runtime, RubyClass rubyClass, Class<?>[] parameterTypes) (package private)JavaConstructor(Ruby runtime, Constructor<?> constructor) Deprecated.JavaMethod(Ruby runtime, Method method) protectedJavaObject(Ruby runtime, Object value) privateJavaObject(Ruby runtime, RubyClass klazz) protectedJavaObject(Ruby runtime, RubyClass rubyClass, Object value) privateJavaPackage(Ruby runtime, CharSequence packageName) protectedJavaSupport(Ruby runtime) JavaSupportImpl(Ruby runtime) -
Uses of Ruby in org.jruby.javasupport.binding
Fields in org.jruby.javasupport.binding declared as RubyModifier and TypeFieldDescriptionprotected final RubyInitializer.runtime(package private) final RubyMethodGatherer.runtimeMethods in org.jruby.javasupport.binding with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyModuleInitializer.setupProxyClass(Ruby runtime, Class<?> javaClass, RubyClass proxy) static RubyModuleInitializer.setupProxyModule(Ruby runtime, Class<?> javaClass, RubyModule proxy) Constructors in org.jruby.javasupport.binding with parameters of type RubyModifierConstructorDescription(package private)ClassInitializer(Ruby runtime, Class<?> javaClass) Initializer(Ruby runtime, Class javaClass) (package private)InterfaceInitializer(Ruby runtime, Class<?> javaClass) (package private)MethodGatherer(Ruby runtime, Class superClass) -
Uses of Ruby in org.jruby.javasupport.ext
Methods in org.jruby.javasupport.ext with parameters of type RubyModifier and TypeMethodDescriptionprivate static RubyBigDecimalJavaMath.BigDecimal.asRubyBigDecimal(Ruby runtime, BigDecimal value) static voidJavaExtensions.define(Ruby runtime, Class javaClass, RubyModule proxyClass) static void(package private) static RubyClass(package private) static RubyModuleJavaLang.CharSequence.define(Ruby runtime, RubyModule proxy) (package private) static RubyClass(package private) static RubyModule(package private) static RubyModuleJavaLang.Comparable.define(Ruby runtime, RubyModule proxy) static void(package private) static RubyModuleJavaLang.Iterable.define(Ruby runtime, RubyModule proxy) (package private) static RubyClass(package private) static RubyModuleJavaLang.Runnable.define(Ruby runtime, RubyModule proxy) (package private) static RubyClass(package private) static RubyModule(package private) static RubyClass(package private) static RubyClassstatic void(package private) static RubyClass(package private) static RubyClass(package private) static RubyModuleJavaMath.BigDecimal.define(Ruby runtime, RubyModule proxy) static voidstatic void(package private) static RubyModulestatic voidstatic void(package private) static RubyModuleJavaTime.Instant.define(Ruby runtime, RubyModule proxy) (package private) static RubyModuleJavaTime.LocalDateTime.define(Ruby runtime, RubyModule proxy) (package private) static RubyModuleJavaTime.OffsetDateTime.define(Ruby runtime, RubyModule proxy) (package private) static RubyModuleJavaTime.ZonedDateTime.define(Ruby runtime, RubyModule proxy) (package private) static RubyModuleJavaUtil.Collection.define(Ruby runtime, RubyModule proxy) static void(package private) static RubyModuleJavaUtil.Enumeration.define(Ruby runtime, RubyModule proxy) (package private) static RubyModuleJavaUtil.Iterator.define(Ruby runtime, RubyModule proxy) (package private) static RubyModuleJavaUtil.List.define(Ruby runtime, RubyModule proxy) static void(package private) static RubyClass(package private) static RubyClassstatic voidstatic void(package private) static voidJavaExtensions.put(Ruby runtime, Class javaClass, Consumer<RubyModule> proxyClass) private static RubyTimeJavaTime.toTime(Ruby runtime, int year, int month, int day, int hour, int min, int sec, int nano, org.joda.time.DateTimeZone zone) Constructors in org.jruby.javasupport.ext with parameters of type Ruby -
Uses of Ruby in org.jruby.javasupport.proxy
Methods in org.jruby.javasupport.proxy with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassJavaProxyClass.createJavaProxyClassClass(Ruby runtime, RubyModule Java) static voidJavaProxyClass.createJavaProxyClasses(Ruby runtime, RubyModule Java) static RubyClassJavaProxyConstructor.createJavaProxyConstructorClass(Ruby runtime, RubyModule Java) static RubyClassJavaProxyClass.ProxyMethodImpl.createJavaProxyMethodClass(Ruby runtime, RubyModule Java) private static RubyClassJavaProxyClass.ProxyMethodImpl.getJavaProxyMethod(Ruby runtime) static JavaProxyClassJavaProxyClass.getProxyClass(Ruby runtime, RubyClass clazz) static RaiseExceptionJavaProxyConstructor.mapInstantiationException(Ruby runtime, Throwable e) final ObjectJavaProxyConstructor.newInstance(Object[] args, Ruby runtime, IRubyObject clazz) (package private) final ObjectJavaProxyConstructor.newInstanceImpl(Object[] argsPlus1, Ruby runtime, IRubyObject clazz) For exportable objects, argsPlus1 is not plus oneprotected static voidJavaProxyReflectionObject.registerRubyMethods(Ruby runtime, RubyClass klass) static JavaProxyClassJavaProxyClass.setProxyClassReified(Ruby runtime, RubyClass clazz, Class<? extends ReifiedJavaProxy> reified, boolean allocator) static RuntimeExceptionJavaProxyConstructor.throwInstantiationExceptionCause(Ruby runtime, ReflectiveOperationException e) (package private) static RubyArrayJavaProxyReflectionObject.toClassArray(Ruby runtime, Class<?>[] classes) Constructors in org.jruby.javasupport.proxy with parameters of type RubyModifierConstructorDescriptionprivateJavaProxyClass(Ruby runtime, Class<?> proxyClass) (package private)JavaProxyConstructor(Ruby runtime, JavaProxyClass proxyClass, Constructor<?> constructor) JavaProxyReflectionObject(Ruby runtime, RubyClass metaClass) ProxyMethodImpl(Ruby runtime, JavaProxyClass clazz, Method method, Method superMethod) -
Uses of Ruby in org.jruby.javasupport.util
Methods in org.jruby.javasupport.util with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyHashRuntimeHelpers.constructHash(Ruby runtime, IRubyObject key, IRubyObject value) Deprecated.static RubyHashRuntimeHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) Deprecated. -
Uses of Ruby in org.jruby.lexer
Methods in org.jruby.lexer with parameters of type RubyModifier and TypeMethodDescriptionvoidLexingCommon.checkRegexpFragment(Ruby runtime, ByteList value, RegexpOptions options) voidLexingCommon.checkRegexpSyntax(Ruby runtime, ByteList value, RegexpOptions options) voidLexingCommon.setRegexpEncoding(Ruby runtime, ByteList value, RegexpOptions options) -
Uses of Ruby in org.jruby.main
Fields in org.jruby.main declared as Ruby -
Uses of Ruby in org.jruby.management
Fields in org.jruby.management with type parameters of type RubyModifier and TypeFieldDescriptionprivate final SoftReference<Ruby>Config.rubyprivate final SoftReference<Ruby>ParserStats.rubyprivate final SoftReference<Ruby>Runtime.rubyMethods in org.jruby.management with parameters of type RubyModifier and TypeMethodDescriptionstatic BeanManagerprivate static voidRuntime.dumpThread(Ruby ruby, RubyThread th, TraceType.Gather gather, PrintWriter pw) Constructors in org.jruby.management with parameters of type RubyModifierConstructorDescriptionBeanManagerImpl(Ruby ruby, boolean managementEnabled) ParserStats(Ruby ruby) -
Uses of Ruby in org.jruby.parser
Fields in org.jruby.parser declared as RubyModifier and TypeFieldDescriptionprivate final RubyParser.runtimeprivate final RubyParserConfiguration.runtimeMethods in org.jruby.parser that return RubyMethods in org.jruby.parser with parameters of type RubyModifier and TypeMethodDescriptionprivate RubyArrayParser.getLines(ParserConfiguration configuration, Ruby runtime, String file) StaticScope.getLocalVariables(Ruby runtime) Convenience wrapper aroundStaticScope.collectVariables(IntFunction, BiConsumer).voidScopedParserState.warnUnusedVariables(Ruby runtime, IRubyWarnings warnings, String file) Constructors in org.jruby.parser with parameters of type RubyModifierConstructorDescriptionParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData) ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData, RubyInstanceConfig config) ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, RubyInstanceConfig config) StaticScopeFactory(Ruby runtime) -
Uses of Ruby in org.jruby.runtime
Fields in org.jruby.runtime declared as RubyModifier and TypeFieldDescriptionprotected final RubyGlobalVariable.runtimefinal RubyThreadContext.runtimeFields in org.jruby.runtime with type parameters of type RubyMethods in org.jruby.runtime that return RubyModifier and TypeMethodDescriptionfinal RubyThreadContext.getRuntime()Retrieve the runtime associated with this context.Methods in org.jruby.runtime with parameters of type RubyModifier and TypeMethodDescriptionstatic intHelpers.addBufferLength(Ruby runtime, int base, int extra) Calculate a buffer length based on a base size and a extra size.static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, String name, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) static RubyArrayHelpers.argumentDescriptorsToParameters(Ruby runtime, ArgumentDescriptor[] argsDesc, boolean isLambda) Convert a parameter list from ArgumentDescriptor format to "Array of Array" formatstatic RubyArrayHelpers.arrayValue(ThreadContext context, Ruby runtime, IRubyObject value) static IRubyObjectHelpers.breakLocalJumpError(Ruby runtime, IRubyObject value) static intHelpers.calculateBufferLength(Ruby runtime, int length) Same asHelpers.calculateBufferLength(int)but raises a Ruby ArgumentError.static intArity.checkArgumentCount(Ruby runtime, int length, int min, int max) static intArity.checkArgumentCount(Ruby runtime, int length, int min, int max, boolean hasKwargs) static intArity.checkArgumentCount(Ruby runtime, String name, int length, int min, int max) static intArity.checkArgumentCount(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) static intArity.checkArgumentCount(Ruby runtime, String name, IRubyObject[] args, int min, int max) static intArity.checkArgumentCount(Ruby runtime, IRubyObject[] args, int min, int max) voidArity.checkArity(Ruby runtime, int length) voidArity.checkArity(Ruby runtime, IRubyObject[] args) voidSignature.checkArity(Ruby runtime, IRubyObject[] args) private static IRubyObjectHelpers.coerceProc(IRubyObject maybeProc, Ruby runtime) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4, IRubyObject key5, IRubyObject value5, boolean prepareString5) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine, IRubyObject ten) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4, IRubyObject key5, IRubyObject value5, boolean prepareString5) private static IRubyObject[]Helpers.convertSplatToJavaArray(Ruby runtime, IRubyObject value) static RubyArrayHelpers.createSubarray(IRubyObject[] input, Ruby runtime, int start) static RubyArrayHelpers.createSubarray(IRubyObject[] input, Ruby runtime, int start, int exclude) static ArgumentDescriptor[]Translate encoded String of argument descriptors back into an ArgumentDescriptor liststatic StringHelpers.decodeByteList(Ruby runtime, ByteList value) Decode a given ByteList to a Java string.static RubyArrayHelpers.ensureRubyArray(Ruby runtime, IRubyObject value) static voidHelpers.fillNil(IRubyObject[] arr, int from, int to, Ruby runtime) static voidHelpers.fillNil(IRubyObject[] arr, Ruby runtime) static IRubyObjectHelpers.getBackref(Ruby runtime, ThreadContext context) Deprecated.static BlockHelpers.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Node node, Block aBlock) static BlockHelpers.getBlockFromBlockPassBody(Ruby runtime, IRubyObject proc, Block currentBlock) static IRubyObjectHelpers.getErrorInfo(Ruby runtime) Deprecated.final DynamicScopeBinding.getEvalScope(Ruby runtime) static IRubyObjectHelpers.getGlobalVariable(Ruby runtime, String name) static IRubyObjectHelpers.getInstanceVariable(IRubyObject self, Ruby runtime, String internedName) static IRubyObjectHelpers.getLastLine(Ruby runtime, ThreadContext context) static RubyClassHelpers.getSingletonClass(Ruby runtime, IRubyObject receiver) static RubyModuleHelpers.getSuperClassForDefined(Ruby runtime, RubyModule klazz) static voidHelpers.handleArgumentSizes(ThreadContext context, Ruby runtime, int given, int required, int opt, int rest) static longstatic StringHelpers.javaStringFromPath(Ruby runtime, IRubyObject loadPathEntry) voidObjectMarshal.marshalTo(Ruby runtime, T obj, RubyClass type, MarshalStream marshalStream) static IRubyObjectHelpers.methodToParameters(Ruby runtime, AbstractRubyMethod recv) static intHelpers.multiplyBufferLength(Ruby runtime, int base, int multiplier) Calculate a buffer length based on a base size and a multiplier.static IRubyObjectHelpers.negate(IRubyObject value, Ruby runtime) static ThreadContextThreadContext.newContext(Ruby runtime) static ThrowableHelpers.newErrorFromException(Ruby runtime, Throwable t) Simplified form of Ruby#newErrorFromException with no default function.static ThrowableReturn a Ruby-friendly Throwable for a given Throwable.static RaiseExceptionHelpers.newIOErrorFromException(Ruby runtime, IOException ex) Construct an appropriate error (which may ultimately not be an IOError) for a given IOException.static RaiseExceptionHelpers.newLocalJumpErrorForBreak(Ruby runtime, IRubyObject breakValue) static IRubyObjectHelpers.nullToNil(IRubyObject value, Ruby runtime) Deprecated.static ArgumentDescriptor[]Helpers.parameterListToArgumentDescriptors(Ruby runtime, String[] parameterList, boolean isLambda) Convert a parameter list from prefix format to ArgumentDescriptor format.static VisibilityHelpers.performNormalMethodChecksAndDetermineVisibility(Ruby runtime, RubyModule clazz, RubySymbol symbol, Visibility visibility) static RubyClassHelpers.performSingletonMethodChecks(Ruby runtime, IRubyObject receiver, String name) static voidArity.raiseArgumentError(Ruby runtime, int length, int min, int max) static voidArity.raiseArgumentError(Ruby runtime, int length, int min, int max, boolean hasKwargs) static voidArity.raiseArgumentError(Ruby runtime, String name, int length, int min, int max) static voidArity.raiseArgumentError(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) static voidArity.raiseArgumentError(Ruby runtime, IRubyObject[] args, int min, int max) static voidHelpers.registerEndBlock(Block block, Ruby runtime) Deprecated.static voidHelpers.rewriteStackTrace(Ruby runtime, Throwable e) Deprecated.static IRubyObject[]Arity.scanArgs(Ruby runtime, IRubyObject[] args, int required, int optional) private static DynamicMethodHelpers.selectInternalMM(Ruby runtime, Visibility visibility, CallType callType) static IRubyObjectHelpers.setBackref(Ruby runtime, ThreadContext context, IRubyObject value) Deprecated.static voidHelpers.setErrorInfo(Ruby runtime, IRubyObject error) Deprecated.static IRubyObjectHelpers.setGlobalVariable(IRubyObject value, Ruby runtime, String name) static IRubyObjectHelpers.setLastLine(Ruby runtime, ThreadContext context, IRubyObject value) static RubyArrayHelpers.subarrayOrEmpty(RubyArray array, Ruby runtime, int index) Deprecated.static RubyArrayHelpers.subarrayOrEmpty(RubyArray array, Ruby runtime, int index, int post) Deprecated.static voidHelpers.throwErrorFromException(Ruby runtime, Throwable t) Throw an appropriate Ruby-friendly error or exception for a given Java exception.final RubyArrayArgumentDescriptor.toArrayForm(Ruby runtime, boolean isLambda) ArgumentType.toArrayForm(Ruby runtime, RubySymbol name) ObjectMarshal.unmarshalFrom(Ruby runtime, RubyClass type, UnmarshalStream unmarshalStream) static intHelpers.validateBufferLength(Ruby runtime, int length) Check that the buffer length requested is within the valid range of 0 to MAX_ARRAY_SIZE, or raise an argument error.private static voidHelpers.warnAboutUninitializedIvar(Ruby runtime, String id) static IRubyObjectHelpers.wrapJavaException(Ruby runtime, Throwable ex) Constructors in org.jruby.runtime with parameters of type RubyModifierConstructorDescriptionCopy(Ruby runtime, String name, GlobalVariable other) GlobalVariable(Ruby runtime, String name, IRubyObject value) JavaInternalBlockBody(Ruby runtime, Arity arity) Deprecated.JavaInternalBlockBody(Ruby runtime, Signature signature) For blocks which can be executed in any thread concurrently.JavaInternalBlockBody(Ruby runtime, ThreadContext originalContext, String methodName, Signature signature) For blocks which cannot be executed in parallel.ReadonlyGlobalVariable(Ruby runtime, String name, IRubyObject value) privateThreadContext(Ruby runtime) Constructor for Context. -
Uses of Ruby in org.jruby.runtime.backtrace
Methods in org.jruby.runtime.backtrace with parameters of type RubyModifier and TypeMethodDescriptionstatic IRubyObjectTraceType.generateMRIBacktrace(Ruby runtime, RubyStackTraceElement[] trace) final RubyStackTraceElement[]BacktraceData.getBacktrace(Ruby runtime) final RubyStackTraceElement[]BacktraceData.getPartialBacktrace(Ruby runtime, int level) static voidTraceType.logBacktrace(Ruby runtime, RubyStackTraceElement[] trace) static StringTraceType.printBacktraceJRuby(Ruby runtime, RubyStackTraceElement[] frames, String type, String message, boolean color) private static voidTraceType.renderBacktraceJRuby(Ruby runtime, RubyStackTraceElement[] frames, StringBuilder buffer, boolean color) -
Uses of Ruby in org.jruby.runtime.builtin
Methods in org.jruby.runtime.builtin that return Ruby -
Uses of Ruby in org.jruby.runtime.encoding
Fields in org.jruby.runtime.encoding declared as RubyMethods in org.jruby.runtime.encoding with parameters of type RubyModifier and TypeMethodDescriptionprivate voidEncodingService.defineEncodingConstant(Ruby runtime, RubyEncoding encoding, String constName) org.jcodings.EncodingEncodingService.getFileSystemEncoding(Ruby runtime) Deprecated.org.jcodings.EncodingEncodingService.getWindowsFilesystemEncoding(Ruby ruby) org.jcodings.EncodingEncodingService.SpecialEncoding.toEncoding(Ruby runtime) Constructors in org.jruby.runtime.encoding with parameters of type Ruby -
Uses of Ruby in org.jruby.runtime.load
Fields in org.jruby.runtime.load declared as RubyModifier and TypeFieldDescriptionprivate final RubyLibrarySearcher.runtimeprotected final RubyLoadService.runtimeMethods in org.jruby.runtime.load with parameters of type RubyModifier and TypeMethodDescriptionbooleanprivate static voidLoadService.debugLoadException(Ruby runtime, Throwable ex) private booleanLibrarySearcher.NormalPathEntry.isCachable(Ruby runtime, IRubyObject path) voidvoidvoidDeprecated.voidvoidvoidvoidvoidvoidvoidvoidprivate static ClassCompiledScriptLoader.loadCompiledScriptFromClass(Ruby runtime, InputStream in) static IRScopeCompiledScriptLoader.loadScriptFromFile(Ruby runtime, InputStream inStream, File resourcePath, String resourceName, boolean isAbsolute) private static RaiseExceptionLoadService.newLoadErrorFromThrowable(Ruby runtime, String file, Throwable t) private LoadServiceResourceInputStreamLibrarySearcher.ResourceLibrary.prepareInputStream(Ruby runtime) static voidLoadService.reflectedLoad(Ruby runtime, String libraryName, String className, ClassLoader classLoader, boolean wrap) Load the org.jruby.runtime.load.Library implementation specified by className.(package private) static ClassExtensionLibraryTry to locate an extension service in the current classloader resources.protected booleanLoadService.tryLoadingLibraryOrScript(Ruby runtime, Library library, String searchFile) protected booleanLoadService.tryLoadingLibraryOrScript(Ruby runtime, LoadService.SearchState state) Deprecated.Constructors in org.jruby.runtime.load with parameters of type Ruby -
Uses of Ruby in org.jruby.runtime.marshal
Fields in org.jruby.runtime.marshal declared as RubyModifier and TypeFieldDescriptionprivate final RubyMarshalStream.runtimeprivate final RubyUnmarshalCache.runtimeprotected final RubyUnmarshalStream.runtimeMethods in org.jruby.runtime.marshal that return RubyMethods in org.jruby.runtime.marshal with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassUnmarshalStream.getClassFromPath(Ruby runtime, String path) static RubyModuleUnmarshalStream.getModuleFromPath(Ruby runtime, String path) Constructors in org.jruby.runtime.marshal with parameters of type RubyModifierConstructorDescriptionMarshalStream(Ruby runtime, OutputStream out, int depthLimit) UnmarshalCache(Ruby runtime) UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint) UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint, boolean untrust) Deprecated. -
Uses of Ruby in org.jruby.runtime.opto
Methods in org.jruby.runtime.opto with parameters of type RubyModifier and TypeMethodDescriptionstatic InvalidatorOptoFactory.newConstantInvalidator(Ruby runtime) -
Uses of Ruby in org.jruby.runtime.profile
Fields in org.jruby.runtime.profile declared as RubyMethods in org.jruby.runtime.profile that return RubyModifier and TypeMethodDescriptionprivate RubyProfilingServiceLookup.getRuntime()Getter to avoid direct property access.Methods in org.jruby.runtime.profile with parameters of type RubyConstructors in org.jruby.runtime.profile with parameters of type Ruby -
Uses of Ruby in org.jruby.runtime.profile.builtin
Fields in org.jruby.runtime.profile.builtin declared as RubyMethods in org.jruby.runtime.profile.builtin that return RubyModifier and TypeMethodDescriptionprivate RubyBuiltinProfilingService.DefaultProfileReporter.getRuntime()private RubyProfiledMethods.getRuntime()Methods in org.jruby.runtime.profile.builtin with parameters of type RubyConstructors in org.jruby.runtime.profile.builtin with parameters of type RubyModifierConstructorDescriptionBuiltinProfilingService(Ruby runtime) ProfiledMethods(Ruby runtime) -
Uses of Ruby in org.jruby.specialized
Methods in org.jruby.specialized with parameters of type RubyModifier and TypeMethodDescriptionprotected RubyArrayprotected RubyArrayprivate booleanRubyArrayTwoObject.isFixnumBypass(Ruby runtime, JavaSites.Array2Sites sites, boolean honorOverride) private booleanRubyArrayTwoObject.isStringBypass(Ruby runtime, JavaSites.Array2Sites sites, boolean honorOverride) Constructors in org.jruby.specialized with parameters of type RubyModifierConstructorDescriptionRubyArrayOneObject(Ruby runtime, IRubyObject value) RubyArraySpecialized(Ruby runtime, boolean light) RubyArrayTwoObject(Ruby runtime, IRubyObject car, IRubyObject cdr) -
Uses of Ruby in org.jruby.util
Fields in org.jruby.util declared as RubyModifier and TypeFieldDescriptionprivate final RubyShellLauncher.ScriptThreadProcess.parentRuntimeprivate final RubyConvertBytes.runtimeprotected final RubyIOChannel.runtimeprivate final RubyIOInputStream.runtimeprivate final RubyIOOutputStream.runtimeprivate final RubyJRubyObjectInputStream.runtimeprivate final RubyMRIRecursionGuard.runtimeprivate final RubyRubyDateFormatter.runtimeprivate final RubyShellLauncher.ChannelPumper.runtimeprivate final RubyShellLauncher.LaunchConfig.runtimeprivate final RubyShellLauncher.StreamPumper.runtimeprivate final RubySprintf.Args.runtimeprivate final RubySunSignalFacade.JRubySignalHandler.runtimeMethods in org.jruby.util with parameters of type RubyModifier and TypeMethodDescriptionprivate static intDir.addToResultIfExists(Ruby runtime, String cwd, byte[] bytes, int begin, int end, org.jcodings.Encoding enc, int flags, Dir.GlobFunc<Dir.GlobArgs> func, Dir.GlobArgs arg) static voidRegexpSupport.appendRegexpString19(Ruby runtime, ByteList to, byte[] bytes, int start, int len, org.jcodings.Encoding enc, org.jcodings.Encoding resEnc) private static voidRegexpSupport.appendUtf8(Ruby runtime, ByteList to, int code, org.jcodings.Encoding[] enc, ByteList str, RegexpSupport.ErrorMode mode) Append the given utf8 characters to the buffer, if given, checking for errors along the way.static voidStringSupport.asciiOnlyCaseMap(Ruby runtime, ByteList value, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) private static Map<RubyString,RubyString> OSEnvironment.asMapOfRubyStrings(Ruby runtime, Map<?, ?> map) static ProcessShellLauncher.buildProcess(Ruby runtime, String[] args, String[] env, File pwd) static RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck) static IRubyObjectConvertBytes.byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck, boolean exception) rb_cstr_to_inumstatic RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) static RubyIntegerConvertBytes.byteListToInum19(Ruby runtime, ByteList str, int base, boolean badcheck) Deprecated.static ByteListStringSupport.caseMap(Ruby runtime, ByteList src, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString buf, byte[] bytes) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString buf, int b) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString str, String value) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString buf, ByteList bytes) static StringShellLauncher.changeDirInsideJar(Ruby runtime, String arg) private static booleanShellLauncher.changeDirInsideJar(Ruby runtime, String[] args) static IRubyObjectTypeConverter.checkArrayType(Ruby runtime, IRubyObject obj) static intStringSupport.checkCaseMapOptions(Ruby runtime, IRubyObject arg0, int flags) static intStringSupport.checkCaseMapOptions(Ruby runtime, IRubyObject arg0, IRubyObject arg1, int flags) static voidSecurityHelper.checkCryptoRestrictions(Ruby runtime) static RubyStringStringSupport.checkEmbeddedNulls(Ruby runtime, IRubyObject ptr) static IRubyObjectTypeConverter.checkFloatType(Ruby runtime, IRubyObject obj) static IRubyObjectTypeConverter.checkHashType(Ruby runtime, IRubyObject obj) static IRubyObjectTypeConverter.checkHashType(Ruby runtime, IRubyObject obj, boolean raise) static RubySymbolConvert the supplied object into an internal identifier String.static IRubyObjectTypeConverter.checkIntegerType(Ruby runtime, IRubyObject obj, String method) private static intPack.checkLimit(Ruby runtime, ByteBuffer encode, int limit) static final voidStringSupport.checkStringSafety(Ruby runtime, IRubyObject value) Check whether input object's string value contains a null byte, and if so throw ArgumentError.static IRubyObjectTypeConverter.checkStringType(Ruby runtime, IRubyObject obj) private static voidRegexpSupport.checkUnicodeRange(Ruby runtime, int code, ByteList str, RegexpSupport.ErrorMode mode) static intStringSupport.choppedLength19(CodeRangeable str, Ruby runtime) Deprecated.static intstatic intstatic intStringSupport.countCommon19(ByteList str, Ruby runtime, boolean[] table, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static FileResourcestatic FileResourceURLResource.createClassloaderURI(Ruby runtime, String pathname, boolean asFile) static FileResourceJRubyFile.createResource(Ruby runtime, String pathname) static FileResourceJRubyFile.createResource(Ruby runtime, String cwd, String pathname) private static FileResourceJRubyFile.createResource(Ruby runtime, String cwd, String pathname, boolean isFile) static FileResourceJRubyFile.createResourceAsFile(Ruby runtime, String pathname) abstract IRubyObjectPack.Converter.decode(Ruby runtime, ByteBuffer format) abstract IRubyObjectPack.ConverterExecutor.decode(Ruby runtime, ByteBuffer format) static voidPack.decode(ThreadContext context, Ruby runtime, ByteBuffer encode, int occurrences, RubyArray result, Block block, Pack.Converter converter) Deprecated.static IRubyObjectPack.decode(ThreadContext context, Ruby runtime, ByteBuffer encode, int occurrences, RubyArray result, Block block, Pack.Converter converter, int mode) static SymbolNameTypeIdUtil.determineSymbolNameType(Ruby runtime, ByteList data) static ByteListStringSupport.dumpCommon(Ruby runtime, ByteList bytelist) rb_str_dumpstatic ByteListStringSupport.dumpCommon(Ruby runtime, ByteList byteList, boolean quoteOnlyIfNeeded) static intByteListHelper.eachCodePointWhile(Ruby runtime, ByteList bytelist, int offset, ByteListHelper.CodePoint each) If you know you have an ASCII ByteList you should do something else.abstract voidPack.Converter.encode(Ruby runtime, IRubyObject from, ByteList result) abstract voidPack.ConverterExecutor.encode(Ruby runtime, IRubyObject from, ByteList result) static intPack.encode(Ruby runtime, int occurrences, ByteList result, RubyArray list, int index, Pack.ConverterExecutor converter) private static ByteListPack.encodes(Ruby runtime, ByteList io2Append, byte[] charsToEncode, int startIndex, int length, int charCount, byte encodingType, boolean tailLf) encodes a String in base64 or its uuencode variant.static voidPack.encodeUM(Ruby runtime, ByteList lCurElemString, int occurrences, boolean ignoreStar, char type, ByteList result) static Map<RubyString,RubyString> OSEnvironment.environmentVariableMap(Ruby runtime) Returns the environment as a hash of Ruby strings.static intShellLauncher.execAndWait(Ruby runtime, IRubyObject[] rawArgs) static intShellLauncher.execAndWait(Ruby runtime, IRubyObject[] rawArgs, Map mergeEnv) private static String[]ShellLauncher.expandGlobs(Ruby runtime, String[] originalArgs) static FileShellLauncher.findPathExecutable(Ruby runtime, String fname) static FileShellLauncher.findPathExecutable(Ruby runtime, String fname, IRubyObject pathObject) private static FileShellLauncher.findPathFile(Ruby runtime, String fname, String[] path, boolean isExec) private static voidRubyDateFormatter.formatSubMillisGt3(Ruby runtime, ByteList buff, int width, RubyNumeric sub_millis) static String[]ShellLauncher.getCurrentEnv(Ruby runtime) private static String[]ShellLauncher.getCurrentEnv(Ruby runtime, Map mergeEnv) OSEnvironment.getEnvironmentVariableMap(Ruby runtime) static String[]ShellLauncher.getModifiedEnv(Ruby runtime, Collection mergeEnv, boolean clearEnv) static URLURLResource.getResourceURL(Ruby runtime, String location) private static Stringprivate static IRubyObjectSunSignalFacade.getSignalResult(Ruby runtime, sun.misc.SignalHandler oldHandler, boolean handled) OSEnvironment.getSystemPropertiesMap(Ruby runtime) private static intDir.glob_helper(Ruby runtime, String cwd, byte[] path, int begin, int end, org.jcodings.Encoding enc, int sub, int flags, Dir.GlobFunc<Dir.GlobArgs> func, Dir.GlobArgs arg) private static intDir.glob_helper(Ruby runtime, String cwd, ByteList path, int sub, int flags, Dir.GlobFunc<Dir.GlobArgs> func, Dir.GlobArgs arg) private static voidShellLauncher.handleStreams(Ruby runtime, Process p, InputStream in, OutputStream out, OutputStream err) private static voidShellLauncher.handleStreamsNonblocking(Ruby runtime, Process p, OutputStream out, OutputStream err) static IRubyObjectTypeConverter.handleUncoercibleObject(Ruby runtime, IRubyObject obj, RubyClass target, boolean raise) static RubyStringstatic RubyStringRubyStringBuilder.ids(Ruby runtime, IRubyObject object) Convert object to proper Ruby String representation of an id.static RubyStringRubyStringBuilder.inspectIdentifierByteList(Ruby runtime, ByteList byteList) static IRubyObjectTypeConverter.ioCheckIO(Ruby runtime, IRubyObject obj) static RubyIOTypeConverter.ioGetIO(Ruby runtime, IRubyObject obj) private static FileShellLauncher.isValidFile(Ruby runtime, String fname, boolean isExec) private static FileShellLauncher.isValidFile(Ruby runtime, String fdir, String fname, boolean isExec) static StringClasspathLauncher.jrubyCommand(Ruby runtime) (package private) static voidstatic booleanStringSupport.multiByteSqueeze(Ruby runtime, ByteList value, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc, boolean isArg) ResourceException.ErrnoException.newRaiseException(Ruby runtime) ResourceException.IOError.newRaiseException(Ruby runtime) Deprecated.abstract RaiseExceptionResourceException.newRaiseException(Ruby runtime) static RaiseExceptionTypeConverter.newTypeError(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) static RaiseExceptionTypeConverter.newTypeErrorMismatch(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) private static doublePack.obj2dbl(Ruby runtime, IRubyObject o) private static floatPack.obj2flt(Ruby runtime, IRubyObject o) static RubyStringSame as pack but defaults tainting of output to false.static RubyStringPack.pack(ThreadContext context, Ruby runtime, RubyArray list, RubyString formatString) Deprecated.private static String[]ShellLauncher.parseCommandLine(ThreadContext context, Ruby runtime, IRubyObject[] rawArgs) static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject[] strings, Map env, IOOptions modes) Deprecated.static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject[] strings, Map env, ModeFlags modes) static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject string, Map env, ModeFlags modes) static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject string, IOOptions modes) Deprecated.static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject string, ModeFlags modes) static ShellLauncher.POpenProcessShellLauncher.popen3(Ruby runtime, IRubyObject[] strings) Deprecated.static ShellLauncher.POpenProcessShellLauncher.popen3(Ruby runtime, IRubyObject[] strings, boolean addShell) Deprecated.private static ProcessShellLauncher.popenShared(Ruby runtime, IRubyObject[] strings) private static ProcessShellLauncher.popenShared(Ruby runtime, IRubyObject[] strings, Map env) private static ProcessShellLauncher.popenShared(Ruby runtime, IRubyObject[] strings, Map env, boolean addShell) static ByteListRegexpSupport.preprocess(Ruby runtime, ByteList str, org.jcodings.Encoding enc, org.jcodings.Encoding[] fixedEnc, RegexpSupport.ErrorMode mode) Preprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise.private voidprivate voidprivate static intDir.push_braces(Ruby runtime, String cwd, List<ByteList> result, Dir.GlobPattern pattern) private static intprivate static voidOSEnvironment.putRubyKeyValuePair(Ruby runtime, Map<RubyString, RubyString> map, String key, org.jcodings.Encoding keyEncoding, String value, org.jcodings.Encoding valueEncoding) static intRegexpSupport.raisePreprocessError(Ruby runtime, ByteList str, String err, RegexpSupport.ErrorMode mode) static voidRegexpSupport.raiseRegexpError19(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, String err) protected static intIOChannel.read(Ruby runtime, IRubyObject io, CallSite read, ByteBuffer dst) static intRegexpSupport.readEscapedByte(Ruby runtime, byte[] to, int toP, byte[] bytes, int p, int end, ByteList str, RegexpSupport.ErrorMode mode) private static ByteListRegexpSupport.regexpDescription19(Ruby runtime, byte[] s, int start, int len, RegexpOptions options, org.jcodings.Encoding enc) static ByteListRegexpSupport.regexpDescription19(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) static voidStringSupport.replaceInternal19(Ruby runtime, int beg, int len, RubyString source, RubyString repl) static ProcessShellLauncher.run(Ruby runtime, Map env, String dir, IRubyObject[] rawArgs, boolean doExecutableSearch, boolean forceExternalProcess) static ProcessShellLauncher.run(Ruby runtime, IRubyObject string) static ProcessShellLauncher.run(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch) static ProcessShellLauncher.run(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch, boolean forceExternalProcess) static intShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs) static intShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs, OutputStream output) static intShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs, OutputStream output, boolean doExecutableSearch) static long[]ShellLauncher.runAndWaitPid(Ruby runtime, IRubyObject[] rawArgs) static long[]ShellLauncher.runAndWaitPid(Ruby runtime, IRubyObject[] rawArgs, OutputStream output, boolean doExecutableSearch) static longShellLauncher.runExternal(Ruby runtime, IRubyObject env, IRubyObject prog, IRubyObject options, IRubyObject args, boolean wait) static intShellLauncher.runExternalAndWait(Ruby runtime, IRubyObject[] rawArgs, Map mergeEnv) static longShellLauncher.runExternalWithoutWait(Ruby runtime, IRubyObject[] rawArgs) static longShellLauncher.runExternalWithoutWait(Ruby runtime, IRubyObject env, IRubyObject prog, IRubyObject options, IRubyObject args) static longShellLauncher.runWithoutWait(Ruby runtime, IRubyObject[] rawArgs) private static longShellLauncher.runWithoutWait(Ruby runtime, IRubyObject[] rawArgs, OutputStream output) private static voidRubyDateParser.setHashValue(Ruby runtime, RubyHash hash, String key, IRubyObject value) org.jcodings.EncodingCalculate the encoding based on kcode option set via 'nesu'.static booleanSprintf.sprintf(Ruby runtime, ByteList to, CharSequence format, int arg) static booleanSprintf.sprintf(Ruby runtime, ByteList to, CharSequence format, long arg) static StringRubyStringBuilder.str(Ruby runtime, String message, IRubyObject value) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageEnd) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, RubyString value2, String messageMiddle2, IRubyObject value3, String messageMiddle3, RubyString value4, String messageEnd) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2, String messageEnd) static StringRubyStringBuilder.str(Ruby runtime, IRubyObject value, String message) static StringRubyStringBuilder.str(Ruby runtime, IRubyObject value, String message, IRubyObject value2) static StringRubyStringBuilder.str(Ruby runtime, IRubyObject value, String message, IRubyObject value2, String message2) static intStringSupport.strCount(ByteList str, Ruby runtime, boolean[] table, StringSupport.TrTables tables, org.jcodings.Encoding enc) static CodeRangeableStringSupport.strDeleteBang(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) static StringSupport.NeighborCharstatic ByteListStringSupport.succCommon(Ruby runtime, ByteList original) static Map<RubyString,RubyString> OSEnvironment.systemPropertiesMap(Ruby runtime) Returns java system properties as a Map<RubyString,RubyString>.static RubyFloatTypeConverter.toFloat(Ruby runtime, IRubyObject obj) private static RubyIntegerRubyDateParser.toRubyInteger(Ruby runtime, Number i) NoFunctionalitySignalFacade.trap(Ruby runtime, BlockCallback block, String sig) SignalFacade.trap(Ruby runtime, BlockCallback block, String sig) private IRubyObjectSunSignalFacade.trap(Ruby runtime, BlockCallback blk, String sig) private IRubyObjectSunSignalFacade.trap(Ruby runtime, SunSignalFacade.JRubySignalHandler handler) static intStringSupport.trNext(StringSupport.TR tr, Ruby runtime, org.jcodings.Encoding enc) static StringSupport.TrTablesStringSupport.trSetupTable(ByteList str, Ruby runtime, boolean[] stable, StringSupport.TrTables tables, boolean first, org.jcodings.Encoding enc) static CodeRangeableStringSupport.trTransHelper(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) private static Filestatic RubyStringRubyStringBuilder.types(Ruby runtime, RubyModule type) static RubyStringRubyStringBuilder.types(Ruby runtime, RubyModule type1, RubyModule type2) private static intRegexpSupport.unescapeEscapedNonAscii(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding enc, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape escaped non-ascii character at start position, appending all to the given bytelist if provided.static booleanRegexpSupport.unescapeNonAscii(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding enc, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape non-ascii elements in the given string, appending the results to the given bytelist if provided.private static intRegexpSupport.unescapeUnicodeBmp(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape unicode BMP char at given offset, appending to the specified buffer if non-null.private static intRegexpSupport.unescapeUnicodeList(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape unicode characters at given offset, appending to the given out buffer if provided.static RubyArrayprivate static voidPack.unpack_at(Ruby runtime, ByteList encodedString, ByteBuffer encode, int occurrences) private static IRubyObjectPack.unpack_m(ThreadContext context, Block block, Ruby runtime, RubyArray result, boolean tainted, ByteBuffer encode, int occurrences, int mode) private static intPack.unpack_m_zeroOccurrences(Ruby runtime, ByteBuffer encode, byte[] lElem, int a, int b, int c, int index, int s) private static IRubyObjectPack.unpack_U(ThreadContext context, Block block, Ruby runtime, RubyArray result, ByteBuffer encode, int occurrences, int mode) private static IRubyObjectPack.unpack_w(ThreadContext context, Block block, Ruby runtime, RubyArray result, ByteBuffer encode, int occurrences, int mode) private static voidPack.unpack_x(Ruby runtime, ByteBuffer encode, int occurrences) private static voidPack.unpack_X(Ruby runtime, ByteBuffer encode, int occurrences) private static RubyStringPack.unpackBase46Strict(Ruby runtime, ByteList input) static RubyArrayPack.unpackWithBlock(ThreadContext context, Ruby runtime, ByteList encodedString, ByteList formatString, Block block) Deprecated.static intPack.utf8Decode(Ruby runtime, byte[] to, int p, int code) rb_uv_to_utf8protected static intIOChannel.write(Ruby runtime, IRubyObject io, CallSite write, ByteBuffer src) Perform a write to the given IO-like object, using the given call site, and passing the contents of the given buffer.Constructors in org.jruby.util with parameters of type RubyModifierConstructorDescription(package private)(package private)ChannelPumper(Ruby runtime, FileChannel inChannel, FileChannel outChannel, ShellLauncher.Pumper.Slave slave, Object sync) ConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck) ConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck, boolean is19) Deprecated.(package private)ConvertBytes(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) JRubyObjectInputStream(Ruby runtime, InputStream input) JRubySignalHandler(Ruby runtime, BlockCallback callback, String signal) JRubySignalHandler(Ruby runtime, IRubyObject block, String signal) privateJRubySignalHandler(Ruby runtime, IRubyObject block, BlockCallback callback, String signal) LaunchConfig(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch) MRIRecursionGuard(Ruby runtime) Deprecated.POpenProcess(Process child, Ruby runtime, IOOptions modes) Deprecated.POpenProcess(Process child, Ruby runtime, ModeFlags modes) ScriptThreadProcess(Ruby parentRuntime, String[] argArray, String[] env, File dir) ScriptThreadProcess(Ruby parentRuntime, String[] argArray, String[] env, File dir, boolean pipedStreams) (package private)StreamPumper(Ruby runtime, InputStream in, OutputStream out, boolean avail, ShellLauncher.Pumper.Slave slave, Object sync) -
Uses of Ruby in org.jruby.util.collections
Methods in org.jruby.util.collections with parameters of type RubyModifier and TypeMethodDescriptionfinal voidStringArraySet.appendString(Ruby runtime, String element) Constructors in org.jruby.util.collections with parameters of type Ruby -
Uses of Ruby in org.jruby.util.io
Fields in org.jruby.util.io declared as RubyModifier and TypeFieldDescriptionprivate final RubyOpenFile.runtimeprivate final RubyPOSIXProcess.runtimeprivate final RubyPosixShim.runtimeThe current runtime(package private) final RubySelectExecutor.runtimeMethods in org.jruby.util.io with parameters of type RubyModifier and TypeMethodDescriptionstatic InetAddressSockaddr.addressFromString(Ruby runtime, String s) voidOpenFile.ascii8bitBinmode(Ruby runtime) static org.jcodings.EncodingEncodingUtils.ascii8bitEncoding(Ruby runtime) private static voidPopenExecutor.buildEnvp(Ruby runtime, PopenExecutor.ExecArg eargp, IRubyObject envtbl) (package private) static IRubyObjectPopenExecutor.checkExecFds(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp) (package private) static intPopenExecutor.checkExecFds1(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp, RubyHash h, int maxhint, IRubyObject ary) (package private) static voidPopenExecutor.checkExecOptions(ThreadContext context, Ruby runtime, RubyHash opthash, PopenExecutor.ExecArg eargp) (package private) static voidPopenExecutor.checkExecRedirect(ThreadContext context, Ruby runtime, IRubyObject key, IRubyObject val, PopenExecutor.ExecArg eargp) (package private) static RubyArrayPopenExecutor.checkExecRedirect1(Ruby runtime, RubyArray ary, IRubyObject key, IRubyObject param) private static voidPopenExecutor.checkExecRedirectDefault(Ruby runtime, IRubyObject key, IRubyObject val, PopenExecutor.ExecArg eargp) (package private) static IRubyObjectPopenExecutor.checkExecRedirectFd(Ruby runtime, IRubyObject v, boolean iskey) voidOpenFile.checkReopenSeek(ThreadContext context, Ruby runtime, long pos) voidstatic org.jcodings.EncodingEncodingUtils.defaultExternalEncoding(Ruby runtime) private static StringPopenExecutor.dlnFindExeR(Ruby runtime, String fname, IRubyObject path) private longPopenExecutor.DO_SPAWN(Ruby runtime, PopenExecutor.ExecArg eargp, String cmd, String[] args, String[] envp) static intEncodingUtils.encCodepointLength(Ruby runtime, byte[] pBytes, int p, int e, int[] len_p, org.jcodings.Encoding enc) static intEncodingUtils.encCrStrBufCat(Ruby runtime, CodeRangeable str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding ptrEnc, int ptr_cr) static intEncodingUtils.encCrStrBufCat(Ruby runtime, CodeRangeable str, ByteList ptr, org.jcodings.Encoding ptrEnc, int ptr_cr) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, byte[] ptrBytes) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding enc) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, byte[] ptrBytes, org.jcodings.Encoding enc) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, CharSequence cseq) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, ByteList ptr, org.jcodings.Encoding enc) (package private) static intPopenExecutor.execargAddopt(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp, IRubyObject key, IRubyObject val) (package private) static IRubyObjectPopenExecutor.execargExtractOptions(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp, RubyHash opthash) (package private) static voidPopenExecutor.execargFixup(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp) (package private) static voidPopenExecutor.execargParentStart(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp) (package private) static voidPopenExecutor.execargParentStart1(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp) (package private) intPopenExecutor.execargRunOptions(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp, PopenExecutor.ExecArg sargp, String[] errmsg) (package private) static voidPopenExecutor.execargSetenv(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp, IRubyObject env) static voidEncodingUtils.extractBinmode(Ruby runtime, IRubyObject optionsArg, int[] fmode_p) voidstatic jnr.constants.platform.AddressFamilySockaddr.getAddressFamilyFromSockaddr(Ruby runtime, ByteList val) OpenFile.getModeAsString(Ruby runtime) static intModeFlags.getOFlagsFromString(Ruby runtime, String modesString) (package private) static IRubyObjectPopenExecutor.handleOptionsCommon(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp, RubyHash opthash, boolean raise) private static IRubyObjectEncodingUtils.hashARef(Ruby runtime, IRubyObject hash, String symbol) voidOpenFile.incrementLineno(Ruby runtime) Deprecated.voidOpenFile.incrementLineno(Ruby runtime, RubyIO io) org.jcodings.EncodingOpenFile.inputEncoding(Ruby runtime) static IRubyObjectEncodingUtils.ioEncStr(Ruby runtime, IRubyObject str, OpenFile fptr) static intOpenFile.ioModestrFmode(Ruby runtime, String modestr) static intOpenFile.ioModestrOflags(Ruby runtime, String modestr) static StringOpenFile.ioOflagsModestr(Ruby runtime, int oflags) (package private) static booleanPopenExecutor.isPopenFork(Ruby runtime, RubyString prog) static RaiseExceptionEncodingUtils.makeEconvException(Ruby runtime, org.jcodings.transcode.EConv ec) private static RaiseExceptionEncodingUtils.makeEConvExceptionSetEncs(RaiseException exc, Ruby runtime, org.jcodings.transcode.EConv ec) static booleanPopenExecutor.nativePopenAvailable(Ruby runtime) Check properties and runtime state to determine whether a native popen is possible.static RubyStringEncodingUtils.newExternalStringWithEncoding(Ruby runtime, String string, org.jcodings.Encoding encoding) static RubyStringEncodingUtils.newExternalStringWithEncoding(Ruby runtime, ByteList bytelist, org.jcodings.Encoding encoding) (package private) static ChannelFDPopenExecutor.open_func(Ruby runtime, RubyIO.Sysopen data) static IRubyObject[]EncodingUtils.openArgsToArgs(Ruby runtime, IRubyObject firstElement, RubyHash options) static SelectorSelectorFactory.openWithRetryFrom(Ruby runtime, SelectorProvider provider) (package private) static voidPopenExecutor.parentRedirectClose(Ruby runtime, int fd) (package private) static ChannelFDPopenExecutor.parentRedirectOpen(Ruby runtime, RubyIO.Sysopen data) private voidPopenExecutor.prepareStdioRedirects(Ruby runtime, int[] readPipe, int[] writePipe, PopenExecutor.ExecArg eargp) (package private) longPopenExecutor.procSpawnCmd(Ruby runtime, String[] argv, String prog, PopenExecutor.ExecArg eargp) (package private) longPopenExecutor.procSpawnCmdInternal(Ruby runtime, String[] argv, String prog, PopenExecutor.ExecArg eargp) (package private) longPopenExecutor.procSpawnSh(Ruby runtime, String str, PopenExecutor.ExecArg eargp) private longPopenExecutor.procSpawnSh(Ruby runtime, PopenExecutor.ExecArg eargp, String str, String[] envp) static voidEncodingUtils.rbStrBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.rbStrBufCat(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static voidEncodingUtils.rbStrBufCat(Ruby runtime, ByteList str, byte[] ptrBytes, int ptr, int len) static RubyStringEncodingUtils.rbStrEscape(Ruby runtime, RubyString str) org.jcodings.EncodingOpenFile.readEncoding(Ruby runtime) booleanOpenFile.ready(Ruby runtime, RubyThread thread, int ops, long timeout) Wait until the channel is available for the given operations or the timeout expires.(package private) static intPopenExecutor.redirectCloexecDup(Ruby runtime, int oldfd) (package private) static voidPopenExecutor.redirectClose(Ruby runtime, PopenExecutor.ExecArg eargp, int fd) (package private) static intPopenExecutor.redirectDup(Ruby runtime, int oldfd) (package private) static voidPopenExecutor.run_exec_close(Ruby runtime, RubyArray ary, PopenExecutor.ExecArg eargp) (package private) static intPopenExecutor.run_exec_dup2(Ruby runtime, RubyArray ary, PopenExecutor.ExecArg eargp, PopenExecutor.ExecArg sargp, String[] errmsg) (package private) static voidPopenExecutor.run_exec_dup2_child(Ruby runtime, RubyArray ary, PopenExecutor.ExecArg eargp) Add spawn configuration for duplicating descriptors in the child(package private) static voidPopenExecutor.run_exec_open(ThreadContext context, Ruby runtime, RubyArray<RubyArray> ary, PopenExecutor.ExecArg eargp) (package private) static intPopenExecutor.run_exec_pgroup(Ruby runtime, PopenExecutor.ExecArg eargp, PopenExecutor.ExecArg sargp, String[] errmsg) (package private) static intPopenExecutor.run_exec_rlimit(Ruby runtime, RubyArray ary, PopenExecutor.ExecArg sargp, String[] errmsg) (package private) static voidPopenExecutor.saveEnv(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg sargp) (package private) static intPopenExecutor.saveRedirectFd(Ruby runtime, int fd, PopenExecutor.ExecArg sargp, String[] errmsg) voidvoidOpenFile.setBlocking(Ruby runtime, boolean blocking) voidOpenFile.setNonblock(Ruby runtime) static RubyStringEncodingUtils.setStrBuf(Ruby runtime, IRubyObject obj, int len) static SocketAddressSockaddr.sockaddrFromBytes(Ruby runtime, byte[] val) private static RuntimeException(package private) longPopenExecutor.spawnProcess(ThreadContext context, Ruby runtime, PopenExecutor.ExecArg eargp, String[] errmsg) static voidEncodingUtils.strBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.strBufCat(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static StringSockaddr.stringFromAddress(Ruby runtime, InetAddress as) Constructors in org.jruby.util.io with parameters of type Ruby