From 5240e772b863ab4bee13932699b3d19f2026b617 Mon Sep 17 00:00:00 2001 From: Docusaurus bot Date: Sat, 21 Sep 2024 12:42:27 +0000 Subject: [PATCH] Deploy website Deploy website version based on a04bb7047a03f9978d9adaa72170e444c5cd7acd --- docs/developers/symbol-information.html | 46 ++++++++++++------------- docs/users/installation.html | 6 ++-- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index ed67e144a..5c454833c 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#productPrefix(). => method productPrefix: String, -// scala/Option#zip(). => final method zip[A1 >: A, B](that: Option[B]): Option[Tuple2[A1, B]], -// scala/Option#isDefined(). => final method isDefined: Boolean, -// scala/Option#getOrElse(). => @inline final method getOrElse[B >: A](default: => B): B, +// 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/Any#hashCode(). => abstract method hashCode(): Int, +// scala/Any#`!=`(). => final method !=(that: Any): Boolean, // scala/Any#isInstanceOf(). => final method isInstanceOf[A](): Boolean // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/String#valueOf(+5). => static method valueOf(param0: Int): String, -// java/lang/String#intern(). => method intern(): String, -// java/lang/String#indexOf(+3). => method indexOf(param0: String, param1: Int): Int, -// java/lang/Object#getClass(). => final method getClass(): Class[local_wildcard], -// java/lang/Object#wait(). => final method wait(): Unit +// 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 // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/Any#`==`(). => final method ==(that: Any): Boolean, -// scala/collection/IterableOnceOps#collect(). => abstract method collect[B](pf: PartialFunction[A, B]): CC[B], -// scala/Any#hashCode(). => abstract method hashCode(): Int, -// scala/Any#getClass(). => final method getClass(): Class, -// scala/collection/IterableOnceOps#reduceRightOption(). => method reduceRightOption[B >: A](op: Function2[A, B, B]): Option[B] +// 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 // )

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(+5). => static method valueOf(param0: Int): String,
-//   java/lang/String#valueOf(+2). => static method valueOf(param0: Array[Char], param1: Int, param2: Int): String,
-//   java/lang/Object#registerNatives(). => private static method registerNatives(): Unit
+//   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
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/String#compareToIgnoreCase(). => method compareToIgnoreCase(param0: String): Int,
-//   java/lang/String#hashCode(). => method hashCode(): Int,
-//   java/lang/Object#wait(+2). => final method wait(param0: Long, param1: Int): Unit
+//   java/lang/Object#hashCode(). => method hashCode(): Int,
+//   java/lang/String#toCharArray(). => method toCharArray(): Array[Char],
+//   java/lang/Object#toString(). => method toString(): 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(+2). => method print(param0: Int): Unit, -// java/io/PrintStream#print(+3). => method print(param0: Long): Unit, -// java/io/PrintStream#print(+4). => method print(param0: Float): Unit +// 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 // )

Overloaded methods can be inherited from supertypes.

diff --git a/docs/users/installation.html b/docs/users/installation.html index 2ab19f28b..7fb6f8bfd 100644 --- a/docs/users/installation.html +++ b/docs/users/installation.html @@ -368,7 +368,7 @@

# Should say 0.12.1

Help

-
Scalafix 0.12.1+124-24078c39-SNAPSHOT
+
Scalafix 0.12.1+126-a04bb704-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+124-24078c39-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.12.1+126-a04bb704-SNAPSHOT"

If using the command-line interface

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