diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index 16387a017..5953c75bd 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/Product#productElement(). => abstract method productElement(n: Int): Any, -// scala/Any#asInstanceOf(). => final method asInstanceOf[A](): A, -// scala/Equals#equals(). => abstract method equals(that: Any): Boolean, -// scala/Some#value. => val method value: A, -// scala/Option#orNull(). => @inline final method orNull[A1 >: A](implicit ev: <:<[Null, A1]): A1 +// scala/Any#getClass(). => final method getClass(): Class, +// scala/Some#productPrefix(). => method productPrefix: String, +// scala/Option#knownSize(). => final method knownSize: Int, +// scala/Option#flatMap(). => @inline final method flatMap[B](f: Function1[A, Option[B]]): Option[B], +// scala/Option#zip(). => final method zip[A1 >: A, B](that: Option[B]): Option[Tuple2[A1, B]] // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/Object#finalize(). => protected method finalize(): Unit, -// java/lang/Object#notify(). => final method notify(): Unit, -// java/lang/String#indexOf(+2). => method indexOf(param0: String): Int, -// java/lang/String#matches(). => method matches(param0: String): Boolean, -// java/lang/String#repeat(). => method repeat(param0: Int): String +// java/lang/String#checkBoundsBeginEnd(). => private[lang] static method checkBoundsBeginEnd(param0: Int, param1: Int, param2: Int): Unit, +// java/lang/String#value(). => private[lang] method value(): Array[Byte], +// java/lang/String#lastIndexOf(). => method lastIndexOf(param0: Int): Int, +// java/lang/String#hashCode(). => method hashCode(): Int, +// java/lang/String#chars(). => method chars(): IntStream // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/collection/IterableOnceOps#map(). => abstract method map[B](f: Function1[A, B]): CC[B], -// scala/Any#`==`(). => final method ==(that: Any): Boolean, -// scala/collection/IterableOnceOps#nonEmpty(). => @deprecatedOverriding method nonEmpty: Boolean, -// scala/collection/IterableOps#scanLeft(). => method scanLeft[B](z: B)(op: Function2[B, A, B]): CC[B], -// scala/collection/IterableOnceOps#reduceRight(). => method reduceRight[B >: A](op: Function2[A, B, B]): B +// scala/collection/SeqOps#indexOfSlice(+1). => @deprecatedOverriding method indexOfSlice[B >: A](that: Seq[B]): Int, +// scala/collection/IterableOps#filterNot(). => method filterNot(pred: Function1[A, Boolean]): C, +// scala/collection/SeqOps#startsWith(). => method startsWith[B >: A](that: IterableOnce[B], offset: Int): Boolean, +// scala/Any#`!=`(). => final method !=(that: Any): Boolean, +// scala/collection/IterableOnceOps#size(). => method size: Int // )

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#rangeCheck(). => private static method rangeCheck(param0: Array[Char], param1: Int, param2: Int): Void,
-//   java/lang/String#checkIndex(). => private[lang] static method checkIndex(param0: Int, param1: Int): Unit,
-//   java/lang/String#valueOf(+1). => static method valueOf(param0: Array[Char]): String
+//   java/lang/Object#registerNatives(). => private static method registerNatives(): Unit,
+//   java/lang/String#indexOf(+4). => private[lang] static method indexOf(param0: Array[Byte], param1: Byte, param2: Int, param3: String, param4: Int): Int,
+//   java/lang/CharSequence#compare(). => static method compare(param0: CharSequence, param1: CharSequence): Int
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/Object#clone(). => protected method clone(): Object,
+//   java/lang/String#value(). => private[lang] method value(): Array[Byte],
 //   java/lang/Object#wait(). => final method wait(): Unit,
-//   java/lang/String#substring(). => method substring(param0: Int): String
+//   java/lang/Object#hashCode(). => method hashCode(): Int
 // )
 

Lookup class primary constructor

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

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

Overloaded methods can be inherited from supertypes.

diff --git a/docs/users/installation.html b/docs/users/installation.html index 60770c9ba..7416d03be 100644 --- a/docs/users/installation.html +++ b/docs/users/installation.html @@ -380,7 +380,7 @@

Help

-
Scalafix 0.13.0+80-de3dcaf2-SNAPSHOT
+
Scalafix 0.13.0+82-ced414b4-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+80-de3dcaf2-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.13.0+82-ced414b4-SNAPSHOT"

If using the command-line interface

-
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+80-de3dcaf2-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help
+
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+82-ced414b4-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help