Class

scala.reflect.api.Types

PolyTypeExtractor

Related Doc: package Types

Permalink

abstract class PolyTypeExtractor extends AnyRef

An extractor class to create and pattern match with syntax PolyType(typeParams, resultType). Here, typeParams are the type parameters of the method and resultType is the type signature following the type parameters.

Source
Types.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PolyTypeExtractor
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PolyTypeExtractor()

    Permalink

Abstract Value Members

  1. abstract def unapply(tpe: Universe.PolyType): Option[(List[Universe.Symbol], Universe.Type)]

    Permalink

Deprecated Value Members

  1. def apply(typeParams: List[Universe.Symbol], resultType: Universe.Type)(implicit token: Universe.CompatToken): Universe.PolyType

    Permalink

    Annotations
    @deprecated
    Deprecated

    (Since version 2.11.0) Use internal.polyType instead

    See also

    InternalApi.polyType