diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index f707d5bb2..7a387919d 100644 --- a/docs/developers/symbol-information.html +++ b/docs/developers/symbol-information.html @@ -336,42 +336,42 @@

Symbol("scala/Some#")).take(5) // res29: Set[SymbolInformation] = HashSet( -// scala/AnyRef#ne(). => final method ne(that: AnyRef): Boolean, -// scala/Any#`##`(). => final method ##(): Int, -// scala/Option#forall(). => @inline final method forall(p: Function1[A, Boolean]): Boolean, -// scala/Any#toString(). => abstract method toString(): String, -// scala/Equals#equals(). => abstract method equals(that: Any): Boolean +// scala/Product#productElement(). => abstract method productElement(n: Int): Any, +// scala/Any#`==`(). => final method ==(that: Any): Boolean, +// scala/Any#equals(). => abstract method equals(that: Any): Boolean, +// scala/Any#hashCode(). => abstract method hashCode(): Int, +// scala/Option#forall(). => @inline final method forall(p: Function1[A, Boolean]): Boolean // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/Object#wait(). => final method wait(): Unit, -// java/lang/CharSequence#length(). => abstract method length(): Int, -// java/lang/String#resolveConstantDesc(). => method resolveConstantDesc(param0: Lookup): String, +// java/lang/Object#toString(). => method toString(): String, +// java/lang/constant/Constable#describeConstable(). => abstract method describeConstable(): Optional[local_wildcard], +// java/lang/Object#notifyAll(). => final method notifyAll(): Unit, // java/lang/String#hashCode(). => method hashCode(): Int, -// java/lang/String#getBytes(). => method getBytes(param0: Int, param1: Int, param2: Array[Byte], param3: Int): Unit +// java/lang/String#decodeWithDecoder(). => private static method decodeWithDecoder(param0: CharsetDecoder, param1: Array[Char], param2: Array[Byte], param3: Int, param4: Int): Int // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/Any#`!=`(). => final method !=(that: Any): Boolean, -// scala/Any#toString(). => abstract method toString(): String, -// scala/collection/IterableFactoryDefaults#newSpecificBuilder(). => protected method newSpecificBuilder: Builder[A @<?>, CC[A @<?>]], -// scala/Any#asInstanceOf(). => final method asInstanceOf[A](): A, -// scala/collection/IterableOnceOps#copyToArray(). => @deprecatedOverriding method copyToArray[B >: A](xs: Array[B]): Int +// scala/collection/IterableOnceOps#mkString(). => final method mkString(start: String, sep: String, end: String): String, +// scala/Any#hashCode(). => abstract method hashCode(): Int, +// scala/collection/IterableOps#collect(). => method collect[B](pf: PartialFunction[A, B]): CC[B], +// scala/collection/IterableOps#headOption(). => method headOption: Option[A], +// scala/collection/IterableOnceOps#foldLeft(). => method foldLeft[B](z: B)(op: Function2[B, A, B]): 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#malformed4(). => private static method malformed4(param0: Array[Byte], param1: Int): Int,
-//   java/lang/String#checkOffset(). => private[lang] static method checkOffset(param0: Int, param1: Int): Unit,
-//   java/lang/String#isASCII(). => private static method isASCII(param0: Array[Byte]): Boolean
+//   java/lang/String#isMalformed3_2(). => private static method isMalformed3_2(param0: Int, param1: Int): Boolean,
+//   java/lang/String#valueOf(+1). => static method valueOf(param0: Array[Char]): String,
+//   java/lang/String#valueOf(+8). => static method valueOf(param0: Double): String
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/constant/Constable#describeConstable(). => abstract method describeConstable(): Optional[local_wildcard],
-//   java/lang/String#resolveConstantDesc(). => method resolveConstantDesc(param0: Lookup): String,
-//   java/lang/Object#wait(+1). => final method wait(param0: Long): Unit
+//   java/lang/Object#wait(+1). => final method wait(param0: Long): Unit,
+//   java/lang/String#length(). => method length(): Int,
+//   java/lang/String#startsWith(). => method startsWith(param0: String, param1: Int): Boolean
 // )
 

Lookup class primary constructor

@@ -484,7 +484,7 @@

// ) getMethodOverloads(Symbol("java/io/PrintStream#"), "print").take(3) // res47: Set[SymbolInformation] = HashSet( -// java/io/PrintStream#print(+7). => method print(param0: String): Unit, +// java/io/PrintStream#print(+6). => method print(param0: Array[Char]): Unit, // java/io/PrintStream#print(+1). => method print(param0: Char): Unit, // java/io/PrintStream#print(+4). => method print(param0: Float): Unit // ) diff --git a/docs/users/installation.html b/docs/users/installation.html index 0ef4e5bd1..ca1b1b261 100644 --- a/docs/users/installation.html +++ b/docs/users/installation.html @@ -380,7 +380,7 @@

Help

-
Scalafix 0.13.0+114-04d75ff2-SNAPSHOT
+
Scalafix 0.13.0+116-875fc0cb-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+114-04d75ff2-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.13.0+116-875fc0cb-SNAPSHOT"

If using the command-line interface

-
cs launch ch.epfl.scala:scalafix-cli_2.13.16:0.13.0+114-04d75ff2-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help
+
cs launch ch.epfl.scala:scalafix-cli_2.13.16:0.13.0+116-875fc0cb-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help