Importees

scalafix.internal.rule.OrganizeImports.Importees
object Importees

Categorizes a list of Importees into the following four groups:

  • Names, e.g., Seq, Option, etc.
  • Renames, e.g., {Long => JLong}, Duration as D, etc.
  • Unimports, e.g., {Foo => _} or Foo as _.
  • Givens, e.g., given Foo.
  • GivenAll, i.e., given.
  • Wildcard, i.e., _ or *.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Importees.type

Members list

Value members

Concrete methods

def unapply(importees: Seq[Importee]): Option[(List[Name], List[Rename], List[Unimport], List[Given], Option[GivenAll], Option[Wildcard])]