Return the class object representing an unboxed value type, e.g., classOf[int], not classOf[java.lang.Integer].
Return the class object representing an unboxed value type, e.g., classOf[int], not classOf[java.lang.Integer]. The compiler rewrites expressions like 5.getClass to come here.
Return the class object representing an array with element class clazz
.
Return the class object representing elements in arrays described by a given schematic.
Retrieve generic array element
Get generic array length
update generic array element
Fast path equality method for inlining; used when -optimise is set.
Fast path equality method for inlining; used when -optimise is set.
stringOf formatted for use in a repl result.
A helper method for constructing case class equality methods, because existential types get in the way of a clean outcome and it's performing a series of Any/Any equals comparisons anyway.
A helper method for constructing case class equality methods, because existential types get in the way of a clean outcome and it's performing a series of Any/Any equals comparisons anyway. See ticket #2867 for specifics.
Given any Scala value, convert it to a String.
Given any Scala value, convert it to a String.
The primary motivation for this method is to provide a means for correctly obtaining a String representation of a value, while avoiding the pitfalls of naïvely calling toString on said value. In particular, it addresses the fact that (a) toString cannot be called on null and (b) depending on the apparent type of an array, toString may or may not print it in a human-readable form.
the value to stringify
a string representation of arg.
Convert an array to an object array.
Convert an array to an object array. Needed to deal with vararg arguments of primitive types that are passed to a generic Java vararg parameter T ...
A helper for case classes.
The object ScalaRunTime provides support methods required by the scala runtime. All these methods should be considered outside the API and subject to change or removal without notice.