A stringified key that can be used to denote this type.
A stringified key that can be used to denote this type. This key should be unique for types within scala, although the key will *not* determine uniqueness between types loaded on different classloaders.
A stringy type key.
The mirror known to be in use when this FastTypeTag was created.
It is not guaranteed to be the correct mirror to reify the type against.
The full Type of T. This method may need to use runtime reflection to reconstruct the full type.
Tests whether this tag is effectively a primitive type.
Tests whether this tag is effectively a primitive type. Note: We duplicate logic out of regular runtime reflection here to avoid the burden of requiring runtime reflection.
The mirror where we should reconsititute the Type inside.
A new Type instance that has reconstructed the full Type.
A "tag" denoting information about a runtime type. This tag is meant to be extermely efficient for simple runtime checks, avoiding a full reflection overhead, while also *allowing* full runtime checks.
Notes:
1. Currently the equals method does "stringy" comparison of types. For a full equality comparison, you'll need to fully reify the Type (tpe). 2. Calling
mirror
ortpe
may cause runtime reflection to be used.