We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02d0d2b commit 7b038b9Copy full SHA for 7b038b9
src/main/scala-2/com/github/swagger/scala/converter/ErasureHelper.scala
@@ -18,7 +18,7 @@ private[converter] object ErasureHelper {
18
val companion: universe.Symbol = moduleSymbol.typeSignature.member(universe.TermName(ConstructorName))
19
val properties =
20
Try(companion.asTerm.alternatives.head.asMethod.paramLists.flatten).getOrElse {
21
- val sym = mirror.staticClass(cls.getName)
+ val sym = mirror.classSymbol(cls)
22
sym.selfType.members
23
.filterNot(_.isMethod)
24
.filterNot(_.isClass)
0 commit comments