Oℕ
Size: a a a
Oℕ
AS
Oℕ
Oℕ
KS
w
KS
Oℕ
D
private[this] def mkLens(clazz: ScClass, prefix: String): Seq[String] = {
import org.jetbrains.plugins.scala.lang.psi.types.result._
val typeParametersText = clazz.typeParameters.map(_.getText).map { // strip variance when moving type parameters to method
case str if str.length > 1 && (str.charAt(0) == '+' || str.charAt(0) == '-') => str.substring(1)
case other => other
} match {
case Seq() => ""
case seq => seq.mkString("[", ",", "]")
}
w
private[this] def mkLens(clazz: ScClass, prefix: String): Seq[String] = {
import org.jetbrains.plugins.scala.lang.psi.types.result._
val typeParametersText = clazz.typeParameters.map(_.getText).map { // strip variance when moving type parameters to method
case str if str.length > 1 && (str.charAt(0) == '+' || str.charAt(0) == '-') => str.substring(1)
case other => other
} match {
case Seq() => ""
case seq => seq.mkString("[", ",", "]")
}
AS
w
A
private[this] def mkLens(clazz: ScClass, prefix: String): Seq[String] = {
import org.jetbrains.plugins.scala.lang.psi.types.result._
val typeParametersText = clazz.typeParameters.map(_.getText).map { // strip variance when moving type parameters to method
case str if str.length > 1 && (str.charAt(0) == '+' || str.charAt(0) == '-') => str.substring(1)
case other => other
} match {
case Seq() => ""
case seq => seq.mkString("[", ",", "]")
}
D
KS
w
Oℕ
D