From be44060e81201ed9772e39306fc258bd009156ad Mon Sep 17 00:00:00 2001 From: Docusaurus bot Date: Sun, 1 Dec 2024 20:42:06 +0000 Subject: [PATCH] Deploy website Deploy website version based on 348a97b16b9d7ed60a4f9f7d0bdc86fb0547e6c1 --- docs/developers/symbol-information.html | 48 ++++++++++++------------- docs/users/installation.html | 6 ++-- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index 8c7620168..ac0bf713c 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#productElementNames(). => method productElementNames: Iterator[String], -// scala/Any#`##`(). => final method ##(): Int, -// scala/AnyRef#eq(). => final method eq(that: AnyRef): Boolean, -// scala/Some#value. => val method value: A, -// scala/Option#collect(). => @inline final method collect[B](pf: PartialFunction[A, B]): Option[B] +// scala/Any#asInstanceOf(). => final method asInstanceOf[A](): A, +// scala/Product#productElement(). => abstract method productElement(n: Int): Any, +// scala/Some#canEqual(). => method canEqual(x$1: Any): Boolean, +// scala/Any#equals(). => abstract method equals(that: Any): Boolean, +// scala/Product#productArity(). => abstract method productArity: Int // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/Object#registerNatives(). => private static method registerNatives(): Unit, -// java/lang/String#checkIndex(). => private[lang] static method checkIndex(param0: Int, param1: Int): Unit, -// java/lang/Object#toString(). => method toString(): String, -// java/lang/String#stripTrailing(). => method stripTrailing(): String, -// java/lang/String#getChars(). => method getChars(param0: Int, param1: Int, param2: Array[Char], param3: Int): Unit +// java/lang/Object#finalize(). => protected method finalize(): Unit, +// java/lang/String#format(+1). => static method format(param0: Locale, param1: String, param2: Object*): String, +// java/lang/String#toLowerCase(+1). => method toLowerCase(): String, +// java/lang/Object#notify(). => final method notify(): Unit, +// java/lang/Object#notify(). => final method notify(): Unit // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/collection/IterableOnceOps#span(). => abstract method span(p: Function1[A, Boolean]): Tuple2[C, C], -// scala/collection/SeqOps#indexOf(+1). => @deprecatedOverriding method indexOf[B >: A](elem: B): Int, -// scala/Any#equals(). => abstract method equals(that: Any): Boolean, -// scala/collection/IterableOnceOps#reduceOption(). => method reduceOption[B >: A](op: Function2[B, B, B]): Option[B], -// scala/Any#`!=`(). => final method !=(that: Any): Boolean +// scala/collection/IterableOps#zip(). => method zip[B](that: IterableOnce[B]): CC[Tuple2[A @<?>, B]], +// scala/collection/IterableOnceOps#nonEmpty(). => @deprecatedOverriding method nonEmpty: Boolean, +// scala/collection/LinearSeqOps#lengthCompare(+1). => method lengthCompare(that: Iterable[_] forSome { type _ }): Int, +// scala/collection/IterableOnceOps#forall(). => method forall(p: Function1[A, Boolean]): Boolean, +// scala/collection/IterableOps#last(). => method last: A // )

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#copyValueOf(). => static method copyValueOf(param0: Array[Char], param1: Int, param2: Int): String,
-//   java/lang/String#valueOf(+3). => static method valueOf(param0: Boolean): String,
-//   java/lang/String#join(). => static method join(param0: CharSequence, param1: CharSequence*): String
+//   java/lang/Object#registerNatives(). => private static method registerNatives(): Unit,
+//   java/lang/String#valueOfCodePoint(). => private[lang] static method valueOfCodePoint(param0: Int): String,
+//   java/lang/String#copyValueOf(). => static method copyValueOf(param0: Array[Char], param1: Int, param2: Int): String
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/Object#hashCode(). => method hashCode(): Int,
-//   java/lang/Object#wait(+2). => final method wait(param0: Long, param1: Int): Unit,
-//   java/lang/Object#toString(). => method toString(): String
+//   java/lang/Object#notifyAll(). => final method notifyAll(): Unit,
+//   java/lang/String#hashCode(). => method hashCode(): Int,
+//   java/lang/String#toUpperCase(+1). => method toUpperCase(): String
 // )
 

Lookup class primary constructor

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

// ) getMethodOverloads(Symbol("java/io/PrintStream#"), "print").take(3) // res47: Set[SymbolInformation] = HashSet( -// java/io/PrintStream#print(+5). => method print(param0: Double): Unit, -// java/io/PrintStream#print(+8). => method print(param0: Object): Unit, -// java/io/PrintStream#print(). => method print(param0: Boolean): Unit +// java/io/PrintStream#print(+2). => method print(param0: Int): Unit, +// java/io/PrintStream#print(). => method print(param0: Boolean): 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 04e9283e0..d00bb59a8 100644 --- a/docs/users/installation.html +++ b/docs/users/installation.html @@ -380,7 +380,7 @@

Help

-
Scalafix 0.13.0+63-616b49cb-SNAPSHOT
+
Scalafix 0.13.0+65-348a97b1-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+63-616b49cb-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.13.0+65-348a97b1-SNAPSHOT"

If using the command-line interface

-
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+63-616b49cb-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help
+
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+65-348a97b1-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help