Skip to content

Commit c534832

Browse files
committed
remove unused ReflectionUtil methods
1 parent 21f6ce2 commit c534832

File tree

1 file changed

+0
-9
lines changed
  • fundamentals/fundamentals-reflection/src/main/scala/izumi/fundamentals/reflection

1 file changed

+0
-9
lines changed

fundamentals/fundamentals-reflection/src/main/scala/izumi/fundamentals/reflection/ReflectionUtil.scala

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,6 @@ object ReflectionUtil {
110110
go(targetType).distinct
111111
}
112112

113-
def kindOf(tpe: Universe#Type): Kind = {
114-
Kind(tpe.typeParams.map(t => kindOf(t.typeSignature)))
115-
}
116-
117113
def getStringLiteral(c: blackbox.Context)(tree: c.universe.Tree): String = {
118114
findStringLiteral(tree).getOrElse(c.abort(c.enclosingPosition, "must use string literal"))
119115
}
@@ -125,9 +121,4 @@ object ReflectionUtil {
125121
}.headOption
126122
}
127123

128-
final case class Kind(args: List[Kind]) {
129-
def format(typeName: String) = s"$typeName${if (args.nonEmpty) args.mkString("[", ", ", "]") else ""}"
130-
override def toString: String = format("_")
131-
}
132-
133124
}

0 commit comments

Comments
 (0)