Packages

trait HKTag[T] extends AnyTag

Internal unsafe API representing a poly-kinded, higher-kinded type tag.

To create a Tag* implicit for an arbitrary kind use the following syntax:

type TagK5[K[_, _, _, _, _]] = HKTag[ { type Arg[A, B, C, D, E] = K[A, B, C, D, E] } ]

As an argument to HKTag, you should specify the type variables your type parameter will take and apply them to it, in order.

type TagFGC[K[_[_, _], _[_], _[_[_], _, _, _]] = HKTag[ { type Arg[A[_, _], B[_], C[_[_], _, _, _]] = K[A, B, C] } ]

A convenience macro Tag.auto.T is available to automatically create a type lambda for a type of any kind:

def x[K[_[_, _], _[_], _[_[_], _, _, _]: Tag.auto.T]: Tag.auto.T[K] = implicitly[Tag.auto.T[K]]
Linear Supertypes
AnyTag, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HKTag
  2. AnyTag
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def closestClass: Class[_]

    Closest class found for the type or for a LUB of all intersection members in case of an intersection type.

    Closest class found for the type or for a LUB of all intersection members in case of an intersection type.

    A Scala type may not have an associated JVM class, as such this class may not be sufficient to create instances of T

    Only if tag.hasPreciseClass returns true it may be safe to reflect on closestClass

    Definition Classes
    HKTagAnyTag
  2. abstract def tag: LightTypeTag

    Internal LightTypeTag holding the typeConstructor of type T

    Internal LightTypeTag holding the typeConstructor of type T

    Definition Classes
    HKTagAnyTag

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def equals(that: Any): Boolean
    Definition Classes
    AnyTag → AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. final def hasPreciseClass: Boolean
    Definition Classes
    AnyTag
  10. final def hashCode(): Int
    Definition Classes
    AnyTag → AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. final def toString(): String
    Definition Classes
    HKTag → AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyTag

Inherited from AnyRef

Inherited from Any

Ungrouped