From 7904475086895872288751fee0bb08c9d1aa6306 Mon Sep 17 00:00:00 2001 From: Docusaurus bot Date: Sun, 1 Dec 2024 20:39:45 +0000 Subject: [PATCH] Deploy website Deploy website version based on f83bdd09f5878fa342a9d81ce4f47e8cbf15df5f --- docs/developers/symbol-information.html | 44 ++++++++++++------------- docs/users/installation.html | 6 ++-- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index f69da79a0..8dfd9c36c 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#productArity(). => abstract method productArity: Int, -// scala/Any#`!=`(). => final method !=(that: Any): Boolean, -// scala/Product#productIterator(). => method productIterator: Iterator[Any], -// scala/Option#toLeft(). => @inline final method toLeft[X](right: => X): Either[A, X], -// scala/Some#copy$default$1(). => method copy$default$1[A]: A @<?> +// 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]] // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/String#valueOfCodePoint(). => private[lang] static method valueOfCodePoint(param0: Int): String, -// java/lang/Object#notifyAll(). => final method notifyAll(): Unit, -// java/lang/CharSequence#compare(). => static method compare(param0: CharSequence, param1: CharSequence): Int, -// java/lang/String#getBytes(+2). => method getBytes(param0: Charset): Array[Byte], -// java/lang/String#lastIndexOf(). => method lastIndexOf(param0: Int): Int +// 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 // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/collection/IterableOps#zipAll(). => method zipAll[A1 >: A, B](that: Iterable[B], thisElem: A1, thatElem: B): CC[Tuple2[A1, B]], -// scala/Any#getClass(). => final method getClass(): Class, -// scala/collection/IterableOnceOps#foreach(). => method foreach[U](f: Function1[A, U]): Unit, -// scala/collection/IterableOps#dropWhile(). => method dropWhile(p: Function1[A, Boolean]): C, -// scala/collection/IterableOps#`++`(). => @inline final method ++[B >: A](suffix: IterableOnce[B]): CC[B] +// 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] // )

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#valueOf(+2). => static method valueOf(param0: Array[Char], param1: Int, param2: Int): String,
-//   java/lang/String#valueOf(+4). => static method valueOf(param0: Char): String
+//   java/lang/String#format(+1). => static method format(param0: Locale, param1: String, param2: Object*): String
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/Object#toString(). => method toString(): String,
-//   java/lang/Object#clone(). => protected method clone(): Object,
-//   java/lang/String#lines(). => method lines(): Stream[String]
+//   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
 // )
 

Lookup class primary constructor

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

// ) getMethodOverloads(Symbol("java/io/PrintStream#"), "print").take(3) // res47: Set[SymbolInformation] = HashSet( -// java/io/PrintStream#print(+4). => method print(param0: Float): 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(+5). => method print(param0: Double): Unit +// java/io/PrintStream#print(). => method print(param0: Boolean): Unit // )

Overloaded methods can be inherited from supertypes.

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

Help

-
Scalafix 0.13.0+57-2efb89dd-SNAPSHOT
+
Scalafix 0.13.0+59-f83bdd09-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+57-2efb89dd-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.13.0+59-f83bdd09-SNAPSHOT"

If using the command-line interface

-
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+57-2efb89dd-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help
+
cs launch ch.epfl.scala:scalafix-cli_2.13.15:0.13.0+59-f83bdd09-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help