Top Fields Constructors Methods
org.jruby.ir.targets.indy

public Class StringBootstrap

extends Object
Class Inheritance
Imports
com.headius.invokebinder.Binder, org.jcodings.Encoding, .EncodingDB, org.jruby.RubyEncoding, .RubyString, org.jruby.ir.runtime.IRRuntimeHelpers, org.jruby.runtime.ThreadContext, org.jruby.util.ByteList, .StringSupport, org.objectweb.asm.Handle, .Opcodes, java.lang.invoke.CallSite, .ConstantCallSite, .MethodHandle, .MethodHandles, .MethodType, .MutableCallSite

Field Summary

Modifier and TypeField and Description
public static final Handle
private static final MethodHandle
public static final Handle
public static final Handle
private static final MethodHandle
public static final Handle
public static final Handle
private static final MethodHandle
public static final Handle
private static final MethodHandle
private static final MethodHandles.Lookup
public static final Handle
private static final MethodHandle

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static CallSite
bufferString(MethodHandles.Lookup lookup, String name, MethodType type, String encodingName, int size)

public static RubyString
bufferString(ThreadContext context, Encoding encoding, int size, int cr)

public static CallSite
bytelist(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName)

public static ByteList
bytelist(String value, String encodingName)

public static ByteList
bytelist(int size, String encodingName)

public static RubyString
chilledString(ThreadContext context, ByteList value, int cr, String file, int line)

public static CallSite
cstring(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr, String file, int line)

public static CallSite
emptyString(MethodHandles.Lookup lookup, String name, MethodType type, String encodingName)

public static Encoding
encodingFromName(String encodingName)

public static RubyString
frozenString(ThreadContext context, MutableCallSite site, ByteList value, int cr, String file, int line)

public static RubyString
public static CallSite
fstring(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr, String file, int line)

public static CallSite
fstringSimple(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr)

public static CallSite
string(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr)

public static RubyString
string(ThreadContext context, ByteList value, int cr)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BUFFER_STRING_BOOTSTRAPback to summary
public static final Handle BUFFER_STRING_BOOTSTRAP
BUFFERSTRING_HANDLEback to summary
private static final MethodHandle BUFFERSTRING_HANDLE
BYTELIST_BOOTSTRAPback to summary
public static final Handle BYTELIST_BOOTSTRAP
CSTRING_BOOTSTRAPback to summary
public static final Handle CSTRING_BOOTSTRAP
CSTRING_HANDLEback to summary
private static final MethodHandle CSTRING_HANDLE
EMPTY_STRING_BOOTSTRAPback to summary
public static final Handle EMPTY_STRING_BOOTSTRAP
FSTRING_BOOTSTRAPback to summary
public static final Handle FSTRING_BOOTSTRAP
FSTRING_HANDLEback to summary
private static final MethodHandle FSTRING_HANDLE
FSTRING_SIMPLE_BOOTSTRAPback to summary
public static final Handle FSTRING_SIMPLE_BOOTSTRAP
FSTRING_SIMPLE_HANDLEback to summary
private static final MethodHandle FSTRING_SIMPLE_HANDLE
LOOKUPback to summary
private static final MethodHandles.Lookup LOOKUP
STRING_BOOTSTRAPback to summary
public static final Handle STRING_BOOTSTRAP
STRING_HANDLEback to summary
private static final MethodHandle STRING_HANDLE

Constructor Detail

StringBootstrapback to summary
public StringBootstrap()

Method Detail

bufferStringback to summary
public static CallSite bufferString(MethodHandles.Lookup lookup, String name, MethodType type, String encodingName, int size)
bufferStringback to summary
public static RubyString bufferString(ThreadContext context, Encoding encoding, int size, int cr)
bytelistback to summary
public static CallSite bytelist(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName)
bytelistback to summary
public static ByteList bytelist(String value, String encodingName)
bytelistback to summary
public static ByteList bytelist(int size, String encodingName)
chilledStringback to summary
public static RubyString chilledString(ThreadContext context, ByteList value, int cr, String file, int line)
cstringback to summary
public static CallSite cstring(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr, String file, int line)
emptyStringback to summary
public static CallSite emptyString(MethodHandles.Lookup lookup, String name, MethodType type, String encodingName)
encodingFromNameback to summary
public static Encoding encodingFromName(String encodingName)
frozenStringback to summary
public static RubyString frozenString(ThreadContext context, MutableCallSite site, ByteList value, int cr, String file, int line)
frozenStringSimpleback to summary
public static RubyString frozenStringSimple(ThreadContext context, MutableCallSite site, ByteList value, int cr)
fstringback to summary
public static CallSite fstring(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr, String file, int line)
fstringSimpleback to summary
public static CallSite fstringSimple(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr)
stringback to summary
public static CallSite string(MethodHandles.Lookup lookup, String name, MethodType type, String value, String encodingName, int cr)
stringback to summary
public static RubyString string(ThreadContext context, ByteList value, int cr)