diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index 8dfd9c36c..d980960a5 100644 --- a/docs/developers/symbol-information.html +++ b/docs/developers/symbol-information.html @@ -334,42 +334,42 @@

Symbol("scala/Some#")).take(5) // res29: Set[SymbolInformation] = HashSet( -// scala/Any#asInstanceOf(). => final method asInstanceOf[A](): A, -// scala/Option#flatten(). => method flatten[B](implicit ev: <:<[A, Option[B]]): Option[B], -// scala/Any#isInstanceOf(). => final method isInstanceOf[A](): Boolean, -// scala/Some#productIterator(). => method productIterator: Iterator[Any], -// scala/Option#unzip3(). => final method unzip3[A1, A2, A3](implicit asTriple: <:<[A, Tuple3[A1, A2, A3]]): Tuple3[Option[A1], Option[A2], Option[A3]] +// scala/Any#equals(). => abstract method equals(that: Any): Boolean, +// scala/Any#toString(). => abstract method toString(): String, +// scala/Any#`==`(). => final method ==(that: Any): Boolean, +// scala/Option#isDefined(). => final method isDefined: Boolean, +// scala/Any#isInstanceOf(). => final method isInstanceOf[A](): Boolean // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/String#regionMatches(). => method regionMatches(param0: Int, param1: String, param2: Int, param3: Int): Boolean, -// java/lang/Object#getClass(). => final method getClass(): Class[local_wildcard], // java/lang/String#replace(). => method replace(param0: Char, param1: Char): String, -// java/lang/String#checkBoundsOffCount(). => private[lang] static method checkBoundsOffCount(param0: Int, param1: Int, param2: Int): Unit, -// java/lang/Object#wait(+1). => final method wait(param0: Long): Unit +// java/lang/String#startsWith(). => method startsWith(param0: String, param1: Int): Boolean, +// java/lang/String#length(). => method length(): Int, +// java/lang/Object#notify(). => final method notify(): Unit, +// java/lang/Object#registerNatives(). => private static method registerNatives(): Unit // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/collection/IterableOps#tails(). => method tails: Iterator[C], -// scala/collection/SeqOps#permutations(). => method permutations: Iterator[C], -// scala/collection/IterableOnceOps#span(). => abstract method span(p: Function1[A, Boolean]): Tuple2[C, C], -// scala/collection/StrictOptimizedIterableOps#zipWithIndex(). => method zipWithIndex: CC[Tuple2[A @<?>, Int]], -// scala/collection/IterableOps#`++:`(). => @deprecated method ++:[B >: A](that: IterableOnce[B]): CC[B] +// scala/collection/IterableOnceOps#hasDefiniteSize(). => @deprecated method hasDefiniteSize: Boolean, +// scala/collection/IterableOnceOps#aggregate(). => @deprecated method aggregate[B](z: => B)(seqop: Function2[B, A, B], combop: Function2[B, B, B]): B, +// scala/Any#isInstanceOf(). => final method isInstanceOf[A](): Boolean, +// scala/collection/IterableOnceOps#`/:`(). => @deprecated @inline final method /:[B](z: B)(op: Function2[B, A, B]): B, +// scala/collection/IterableOnceOps#collect(). => abstract method collect[B](pf: PartialFunction[A, B]): CC[B] // )

For Java methods, use SymbolInformation.isStatic to separate static methods from non-static methods.

getClassMethods(Symbol("java/lang/String#")).filter(_.isStatic).take(3)
 // res32: Set[SymbolInformation] = HashSet(
-//   java/lang/String#valueOf(+4). => static method valueOf(param0: Char): String,
-//   java/lang/String#indexOf(+4). => private[lang] static method indexOf(param0: Array[Byte], param1: Byte, param2: Int, param3: String, param4: Int): Int,
-//   java/lang/String#format(+1). => static method format(param0: Locale, param1: String, param2: Object*): String
+//   java/lang/String#rangeCheck(). => private static method rangeCheck(param0: Array[Char], param1: Int, param2: Int): Void,
+//   java/lang/String#valueOf(+3). => static method valueOf(param0: Boolean): String,
+//   java/lang/String#format(). => static method format(param0: String, param1: Object*): String
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/String#codePointAt(). => method codePointAt(param0: Int): Int,
-//   java/lang/Object#equals(). => method equals(param0: Object): Boolean,
-//   java/lang/Object#wait(). => final method wait(): Unit
+//   java/lang/String#regionMatches(+1). => method regionMatches(param0: Boolean, param1: Int, param2: String, param3: Int, param4: Int): Boolean,
+//   java/lang/Object#getClass(). => final method getClass(): Class[local_wildcard],
+//   java/lang/Object#equals(). => method equals(param0: Object): Boolean
 // )
 

Lookup class primary constructor

@@ -482,9 +482,9 @@

// ) getMethodOverloads(Symbol("java/io/PrintStream#"), "print").take(3) // res47: Set[SymbolInformation] = HashSet( +// java/io/PrintStream#print(+6). => method print(param0: Array[Char]): Unit, // java/io/PrintStream#print(+5). => method print(param0: Double): Unit, -// java/io/PrintStream#print(+7). => method print(param0: String): Unit, -// java/io/PrintStream#print(). => method print(param0: Boolean): Unit +// java/io/PrintStream#print(+4). => method print(param0: Float): Unit // )

Overloaded methods can be inherited from supertypes.

diff --git a/docs/users/installation.html b/docs/users/installation.html index f5464c20d..cd40e6e58 100644 --- a/docs/users/installation.html +++ b/docs/users/installation.html @@ -380,7 +380,7 @@

Help

-
Scalafix 0.13.0+59-f83bdd09-SNAPSHOT
+
Scalafix 0.13.0+61-21b97194-SNAPSHOT
 Usage: scalafix [options] [<path> ...]
 
 Scalafix is a refactoring and linting tool. Scalafix
@@ -552,10 +552,10 @@ 

// project/plugins.sbt addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0") +resolvers += Resolver.sonatypeRepo("snapshots") -+dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.13.0+59-f83bdd09-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.13.0+61-21b97194-SNAPSHOT"

If using the command-line interface

-
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+59-f83bdd09-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help
+
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+61-21b97194-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help