diff --git a/docs/developers/symbol-information.html b/docs/developers/symbol-information.html index 3406587bb..7c2803911 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/Product#productIterator(). => method productIterator: Iterator[Any], +// scala/Some#get(). => method get: A, +// scala/Any#isInstanceOf(). => final method isInstanceOf[A](): Boolean, // scala/Any#getClass(). => final method getClass(): Class, -// scala/Product#productElementName(). => method productElementName(n: Int): String, -// scala/Option#collect(). => @inline final method collect[B](pf: PartialFunction[A, B]): Option[B], -// scala/Any#getClass(). => final method getClass(): Class, -// scala/Any#`==`(). => final method ==(that: Any): Boolean +// scala/Any#asInstanceOf(). => final method asInstanceOf[A](): A // ) getClassMethods(Symbol("java/lang/String#")).take(5) // res30: Set[SymbolInformation] = HashSet( -// java/lang/String#lines(). => method lines(): Stream[String], -// java/lang/CharSequence#compare(). => static method compare(param0: CharSequence, param1: CharSequence): Int, -// java/lang/Object#wait(). => final method wait(): Unit, -// java/lang/String#isNotContinuation(). => private static method isNotContinuation(param0: Int): Boolean, -// java/lang/String#encodeWithEncoder(). => private static method encodeWithEncoder(param0: Charset, param1: Byte, param2: Array[Byte], param3: Boolean): Array[Byte] +// java/lang/String#indexOf(+2). => method indexOf(param0: String): Int, +// java/lang/String#concat(). => method concat(param0: String): String, +// java/lang/Object#notifyAll(). => final method notifyAll(): Unit, +// java/lang/String#lastIndexOfNonWhitespace(). => private method lastIndexOfNonWhitespace(): Int, +// java/lang/Object#toString(). => method toString(): String // ) getClassMethods(Symbol("scala/collection/immutable/List#")).take(5) // res31: Set[SymbolInformation] = HashSet( -// scala/collection/IterableOnceOps#reduceLeftOption(). => method reduceLeftOption[B >: A](op: Function2[B, A, B]): Option[B], -// scala/collection/IterableOnceOps#reduce(). => method reduce[B >: A](op: Function2[B, B, B]): B, -// scala/Any#`==`(). => final method ==(that: Any): Boolean, -// scala/collection/IterableOnceOps#reduceRightOption(). => method reduceRightOption[B >: A](op: Function2[A, B, B]): Option[B], -// scala/Any#toString(). => abstract method toString(): String +// scala/collection/IterableOps#zipWithIndex(). => method zipWithIndex: CC[Tuple2[A @<?>, Int]], +// scala/collection/IterableOps#last(). => method last: A, +// scala/collection/StrictOptimizedIterableOps#strictOptimizedMap(). => @inline protected[this] final method strictOptimizedMap[B, C2](b: Builder[B, C2], f: Function1[A, B]): C2, +// scala/Any#equals(). => abstract method equals(that: Any): Boolean, +// scala/collection/IterableOnceOps#copyToBuffer(). => @deprecated @inline final method copyToBuffer[B >: A](dest: Buffer[B]): Unit // )

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#format(+1). => static method format(param0: Locale, param1: String, param2: Object*): String,
-//   java/lang/String#isMalformed4(). => private static method isMalformed4(param0: Int, param1: Int, param2: Int): Boolean,
-//   java/lang/String#join(+2). => static method join(param0: CharSequence, param1: Iterable[local_wildcard]): String
+//   java/lang/String#encodeUTF8_UTF16(). => private static method encodeUTF8_UTF16(param0: Array[Byte], param1: Boolean): Array[Byte],
+//   java/lang/String#throwUnmappable(+1). => private static method throwUnmappable(param0: Array[Byte]): Unit,
+//   java/lang/String#isASCII(). => private static method isASCII(param0: Array[Byte]): Boolean
 // )
 getClassMethods(Symbol("java/lang/String#")).filter(!_.isStatic).take(3)
 // res33: Set[SymbolInformation] = HashSet(
-//   java/lang/String#isLatin1(). => private[lang] method isLatin1(): Boolean,
-//   java/lang/Object#hashCode(). => method hashCode(): Int,
-//   java/lang/Object#wait(+1). => final method wait(param0: Long): Unit
+//   java/lang/String#toString(). => method toString(): String,
+//   java/lang/Object#getClass(). => final method getClass(): Class[local_wildcard],
+//   java/lang/String#contentEquals(+1). => method contentEquals(param0: CharSequence): Boolean
 // )
 

Lookup class primary constructor

@@ -484,8 +484,8 @@

// ) 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(+1). => method print(param0: Char): Unit, +// 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(+5). => method print(param0: Double): Unit // ) diff --git a/docs/users/installation.html b/docs/users/installation.html index 120a7163c..1377570a2 100644 --- a/docs/users/installation.html +++ b/docs/users/installation.html @@ -380,7 +380,7 @@

Help

-
Scalafix 0.14.0+8-50f0f2db-SNAPSHOT
+
Scalafix 0.14.0+10-26a7f01f-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.14.0") +resolvers += Resolver.sonatypeRepo("snapshots") -+dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.14.0+8-50f0f2db-SNAPSHOT" ++dependencyOverrides += "ch.epfl.scala" % "scalafix-interfaces" % "0.14.0+10-26a7f01f-SNAPSHOT"

If using the command-line interface

-
cs launch ch.epfl.scala:scalafix-cli_2.13.16:0.14.0+8-50f0f2db-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help
+
cs launch ch.epfl.scala:scalafix-cli_2.13.16:0.14.0+10-26a7f01f-SNAPSHOT -r sonatype:snapshots --main scalafix.cli.Cli -- --help