@@ -79,7 +79,7 @@ trait CompletenessKit extends JUnitSuite {
7979 for (member <- members; alt <- member.asTerm.alternatives) yield {
8080 val m = alt.asMethod
8181 // multiple parameter lists in case of curried functions
82- val paramListStrs = for (paramList <- m.paramss ) yield {
82+ val paramListStrs = for (paramList <- m.paramLists ) yield {
8383 paramList.map(
8484 symb => removePackage(symb.typeSignature.toString.replaceAll(" ,(\\ S)" , " , $1" ))
8585 ).mkString(" (" , " , " , " )" )
@@ -94,7 +94,7 @@ trait CompletenessKit extends JUnitSuite {
9494 val superTypes = tp.baseClasses.map(_.asType.toType).filter(! ignoredSuperTypes(_))
9595 // declarations: => only those declared in
9696 // members => also those of superclasses
97- methodMembersToMethodStrings(superTypes.flatMap(_.declarations ).filter {
97+ methodMembersToMethodStrings(superTypes.flatMap(_.decls ).filter {
9898 m =>
9999 m.isMethod && m.isPublic &&
100100 m.annotations.forall(_.toString != " java.lang.Deprecated" ) // don't check deprecated classes
@@ -113,7 +113,7 @@ trait CompletenessKit extends JUnitSuite {
113113 */
114114 private def getPublicInstanceAndCompanionMethods (tp : Type ): Iterable [String ] =
115115 getPublicInstanceMethods(tp) ++
116- getPublicInstanceMethods(tp.typeSymbol.companionSymbol .typeSignature)
116+ getPublicInstanceMethods(tp.typeSymbol.companion .typeSignature)
117117
118118 private def javaMethodSignatureToScala (s : String ): String = {
119119 val r = s.replaceAllLiterally(" Long, Long, TimeUnit" , " Duration, Duration" )
@@ -206,12 +206,12 @@ trait CompletenessKit extends JUnitSuite {
206206
207207 @ Ignore // because spams output
208208 @ Test def printJavaStaticMethods (): Unit = {
209- printMethodSet(s " Static methods of $rxJavaType" , rxJavaType.typeSymbol.companionSymbol .typeSignature)
209+ printMethodSet(s " Static methods of $rxJavaType" , rxJavaType.typeSymbol.companion .typeSignature)
210210 }
211211
212212 @ Ignore // because spams output
213213 @ Test def printScalaCompanionMethods (): Unit = {
214- printMethodSet(s " Companion methods of $rxScalaType" , rxScalaType.typeSymbol.companionSymbol .typeSignature)
214+ printMethodSet(s " Companion methods of $rxScalaType" , rxScalaType.typeSymbol.companion .typeSignature)
215215 }
216216
217217 @ Ignore // because spams output
0 commit comments