Trait/Object

izumi.fundamentals.reflection.Tags

HKTag

Related Docs: object HKTag | package Tags

Permalink

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
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[_]

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  9. final def hasPreciseClass: Boolean

    Permalink
    Definition Classes
    AnyTag
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. final def toString(): String

    Permalink
    Definition Classes
    HKTag → AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyTag

Inherited from AnyRef

Inherited from Any

Ungrouped