All Downloads are FREE. Search and download functionalities are using the official Maven repository.

anorm.macros.Implicit.scala Maven / Gradle / Ivy

There is a newer version: 2.8.1
Show newest version
package anorm.macros

import scala.reflect.api.Universe

final case class Implicit[Type <: Universe#TypeApi, Name <: Universe#NameApi, Tree <: Universe#TreeApi](
  paramName: Name,
  paramType: Type,
  neededImplicit: Tree,
  tpe: Type,
  selfRef: Boolean)

object Implicit {
  object Unresolved {
    def unapply[Type <: Universe#TypeApi, Name <: Universe#NameApi, Tree <: Universe#TreeApi](impl: Implicit[Type, Name, Tree]): Boolean = impl.neededImplicit.isEmpty
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy