Return the a name of this symbol that can be used on the Java platform.
Return the a name of this symbol that can be used on the Java platform. It removes spaces from names.
Special handling: scala.Nothing erases to scala.runtime.Nothing$ scala.Null erases to scala.runtime.Null$
This is needed because they are not real classes, and they mean 'abrupt termination upon evaluation of that expression' or null respectively. This handling is done already in GenICode, but here we need to remove references from method signatures to these types, because such classes can not exist in the classpath: the type checker will be very confused.
Specialized array conversion to prevent calling java.
Specialized array conversion to prevent calling java.lang.reflect.Array.newInstance via TraversableOnce.toArray
(bytecodeUtil: StringAdd).self
(bytecodeUtil: StringFormat).self
(bytecodeUtil: ArrowAssoc[GenJVM.BytecodeUtil]).x
(Since version 2.10.0) Use leftOfArrow
instead
(bytecodeUtil: Ensuring[GenJVM.BytecodeUtil]).x
(Since version 2.10.0) Use resultOfEnsuring
instead
This trait may be used by tools who need access to utility methods like javaName and javaType. (for instance, the Eclipse plugin uses it).