final class JavaClassName[T] extends AnyVal
Typeclass that contains JVM fully qualified class name corresponding to given type.
JavaClassName.of[T]
is always equal to classTag[T].runtimeClass.getName
JavaClassName
can be used instead of ClassTag
in ScalaJS when ScalaJS linker is configured to drop class names.
Also, unlike ClassTag
, JavaClassName
contains just a string so it can be easily serialized and deserialized.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JavaClassName
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new JavaClassName(value: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toString(): String
- Definition Classes
- JavaClassName → Any
- val value: String