From the JVM Specification
From the JVM Specification
A class type signature gives complete type information for a class or interface type. The class type signature must be formulated such that it can be reliably mapped to the binary name of the class it denotes by erasing any type arguments and converting each ‘.’ character in the signature to a ‘$’ character.
(Changed in version 2.9.0) The p0 call-by-name arguments is evaluated at most once per constructed Parser object, instead of on every need that arises during parsing.
Parses Java class file signature strings.
Thread-Safety
As of Scala 2.10/2.11 classes that inherit from
(Regex)Parsersare not thread-safe. However, the only class that can create instances of aSignatureParsersis its companion object and that one implements the necessary abstractions for the thread-safe use ofSignatureParsers.