From 810121540d5a2be4a6e2e12fc2aff26b12baf87c Mon Sep 17 00:00:00 2001 From: Docusaurus bot Date: Sat, 21 Sep 2024 12:43:29 +0000 Subject: [PATCH] Deploy website Deploy website version based on d75a07ca852eabc6080837576b50b500f91b8c70 --- docs/developers/symbol-information.html | 44 ++++++++++++------------- docs/users/installation.html | 12 +++---- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index 5c454833c..e3233c6d6 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#isInstanceOf(). => final method isInstanceOf[A](): Boolean, -// scala/Option#unzip3(). => final method unzip3[A1, A2, A3](implicit asTriple: <:<[A, Tuple3[A1, A2, A3]]): Tuple3[Option[A1], Option[A2], Option[A3]], +// scala/Product#productElementNames(). => method productElementNames: Iterator[String], +// scala/Any#`==`(). => final method ==(that: Any): Boolean, +// scala/Any#asInstanceOf(). => final method asInstanceOf[A](): A, // scala/Any#hashCode(). => abstract method hashCode(): Int, -// scala/Any#`!=`(). => final method !=(that: Any): Boolean, -// scala/Any#isInstanceOf(). => final method isInstanceOf[A](): Boolean +// scala/Any#hashCode(). => abstract method hashCode(): Int // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/String#stripLeading(). => method stripLeading(): String, -// java/lang/String#isLatin1(). => private method isLatin1(): Boolean, -// java/lang/String#substring(). => method substring(param0: Int): String, -// java/lang/String#equals(). => method equals(param0: Object): Boolean, -// java/lang/String#toString(). => method toString(): String +// java/lang/String#charAt(). => method charAt(param0: Int): Char, +// java/lang/String#toUpperCase(+1). => method toUpperCase(): String, +// java/lang/String#startsWith(+1). => method startsWith(param0: String): Boolean, +// java/lang/Object#wait(+1). => final method wait(param0: Long): Unit, +// java/lang/String#checkBoundsBeginEnd(). => private[lang] static method checkBoundsBeginEnd(param0: Int, param1: Int, param2: Int): Unit // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/collection/IterableOnce#knownSize(). => method knownSize: Int, -// scala/collection/IterableOps#fromSpecific(). => protected abstract method fromSpecific(coll: IterableOnce[A @<?>]): C, -// scala/collection/IterableOnceOps#maxBy(). => method maxBy[B](f: Function1[A, B])(implicit ord: Ordering[B]): A, -// scala/collection/IterableOnceOps#foreach(). => method foreach[U](f: Function1[A, U]): Unit, -// scala/collection/IterableOps#last(). => method last: A +// scala/collection/IterableOps#newSpecificBuilder(). => protected abstract method newSpecificBuilder: Builder[A @<?>, C], +// scala/collection/IterableOnceOps#copyToArray(+2). => method copyToArray[B >: A](xs: Array[B], start: Int, len: Int): Int, +// scala/collection/SeqOps#toGenericSeq(). => @inline private[this] method toGenericSeq: Seq[A], +// scala/collection/IterableOnceOps#copyToArray(). => @deprecatedOverriding method copyToArray[B >: A](xs: Array[B]): Int, +// scala/collection/IterableOps#unzip3(). => method unzip3[A1, A2, A3](implicit asTriple: Function1[A, Tuple3[A1, A2, A3]]): Tuple3[CC[A1], CC[A2], CC[A3]] // )

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/CharSequence#compare(). => static method compare(param0: CharSequence, param1: CharSequence): Int,
-//   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#valueOf(+8). => static method valueOf(param0: Double): String
+//   java/lang/String#valueOf(+6). => static method valueOf(param0: Long): String,
+//   java/lang/Object#registerNatives(). => private static method registerNatives(): Unit,
+//   java/lang/String#valueOfCodePoint(). => private[lang] static method valueOfCodePoint(param0: Int): String
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/Object#hashCode(). => method hashCode(): Int,
-//   java/lang/String#toCharArray(). => method toCharArray(): Array[Char],
-//   java/lang/Object#toString(). => method toString(): String
+//   java/lang/Object#notify(). => final method notify(): Unit,
+//   java/lang/Object#toString(). => method toString(): String,
+//   java/lang/String#isEmpty(). => method isEmpty(): Boolean
 // )
 

Lookup class primary constructor

@@ -483,8 +483,8 @@

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(). => method print(param0: Boolean): Unit, -// java/io/PrintStream#print(+1). => method print(param0: Char): Unit +// java/io/PrintStream#print(+6). => method print(param0: Array[Char]): Unit, +// java/io/PrintStream#print(+3). => method print(param0: Long): Unit // )

Overloaded methods can be inherited from supertypes.

diff --git a/docs/users/installation.html b/docs/users/installation.html index 7fb6f8bfd..74c460e98 100644 --- a/docs/users/installation.html +++ b/docs/users/installation.html @@ -59,7 +59,7 @@
  • macOS, Linux or Windows
  • Java LTS (8, 11, 17 or 21)
  • -
  • Scala 2.12.19, 2.13.14, 3.3.4-RC2 LTS or 3.5.0
  • +
  • Scala 2.12.19, 2.13.14, 3.3.4-RC3 LTS or 3.5.0

Note that other setups may work, but could result in unexpected behavior.

sbt

@@ -115,7 +115,7 @@

+ semanticdbEnabled := true, // enable SemanticDB + semanticdbVersion := scalafixSemanticdb.revision // only required for Scala 2.x ) @@ -136,7 +136,7 @@

+ semanticdbEnabled := true, // enable SemanticDB + semanticdbVersion := scalafixSemanticdb.revision, // only required for Scala 2.x + scalacOptions += { @@ -368,7 +368,7 @@

# Should say 0.12.1

Help

-
Scalafix 0.12.1+126-a04bb704-SNAPSHOT
+
Scalafix 0.12.1+128-d75a07ca-SNAPSHOT
 Usage: scalafix [options] [<path> ...]
 
 Scalafix is a refactoring and linting tool. Scalafix
@@ -540,10 +540,10 @@ 

// project/plugins.sbt addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.12.1") +resolvers += Resolver.sonatypeRepo("snapshots") -+dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.12.1+126-a04bb704-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.12.1+128-d75a07ca-SNAPSHOT"

If using the command-line interface

-
cs launch ch.epfl.scala:scalafix-cli_2.13.14:0.12.1+126-a04bb704-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help
+
cs launch ch.epfl.scala:scalafix-cli_2.13.14:0.12.1+128-d75a07ca-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help