Scala Compiler 2.13.16 - scala.tools.nsc.typechecker.TypeDiagnostics.UnusedPrivates
Keywords: Scala Compiler 2.13.16 scala.tools.nsc.typechecker.TypeDiagnostics.UnusedPrivates

Scala Compiler2.13.16 < Back


# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package typechecker
  Definition Classes
    nsc
-  trait TypeDiagnostics extends SplainDiagnostics

  An interface to enable higher configurability of diagnostic messages regarding type errors.

  An interface to enable higher configurability of diagnostic messages regarding type errors. This is barely a beginning as error messages are distributed far and wide across the codebase. The plan is to partition error messages into some broad groups and provide some mechanism for being more or less verbose on a selective basis. Possible groups include such examples as

  arity errors kind errors variance errors ambiguity errors volatility/stability errors implementation restrictions

  And more, and there is plenty of overlap, so it'll be a process.

  Definition Classes
    typechecker
- ByNameFormatter
- FunctionFormatter
- ImplicitErrorLink
- ImplicitErrorTree
- Refined
- RefinedFormatter
- SpecialFormatter
- TupleFormatter
- TypeDiag
- TypeParts
- TyperDiagnostics
- UnusedPrivates
- checkDead
- checkUnused

c

scala.tools.nsc.typechecker.TypeDiagnostics

# UnusedPrivates

###
Companion object UnusedPrivates

#### class UnusedPrivates extends Global.Traverser

Source
  TypeDiagnostics.scala

Linear Supertypes
Global.Traverser, AnyRef, Any
Known Subclasses
checkMacroExpandee, checkMacroExpandeeAndExpandedRefs, skipMacroCall, skipMacroExpansion
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. UnusedPrivates
2. Traverser
3. AnyRef
4. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new UnusedPrivates()

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toany2stringadd[(TypeDiagnostics.this)#UnusedPrivates] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): ((TypeDiagnostics.this)#UnusedPrivates, B)
   Implicit
     This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toArrowAssoc[(TypeDiagnostics.this)#UnusedPrivates] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def addPatVar(t: Global.Tree): ListBuffer[Global.Tree]
7.  def apply[T <: Global.Tree](tree: T): T
   Definition Classes
     Traverser
8.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
9.  def atOwner(owner: Global.Symbol)(traverse: => Unit): Unit
   Definition Classes
     Traverser
10.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.CloneNotSupportedException]) @native()
11.  var currentOwner: Global.Symbol
    Attributes
      protected[scala]
    Definition Classes
      Traverser
12.  val defnTrees: ListBuffer[Global.MemberDef]
13.  def ensuring(cond: ((TypeDiagnostics.this)#UnusedPrivates) => Boolean, msg: => Any): (TypeDiagnostics.this)#UnusedPrivates
    Implicit
      This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toEnsuring[(TypeDiagnostics.this)#UnusedPrivates] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  def ensuring(cond: ((TypeDiagnostics.this)#UnusedPrivates) => Boolean): (TypeDiagnostics.this)#UnusedPrivates
    Implicit
      This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toEnsuring[(TypeDiagnostics.this)#UnusedPrivates] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: Boolean, msg: => Any): (TypeDiagnostics.this)#UnusedPrivates
    Implicit
      This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toEnsuring[(TypeDiagnostics.this)#UnusedPrivates] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: Boolean): (TypeDiagnostics.this)#UnusedPrivates
    Implicit
      This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toEnsuring[(TypeDiagnostics.this)#UnusedPrivates] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
19.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
20.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
21.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
22.  def inDefinedAt(p: Global.Symbol): Boolean
23.  def isEffectivelyPrivate(sym: Global.Symbol): Boolean
24.  def isExisting(sym: Global.Symbol): Boolean
25.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
26.  def isSuppressed(sym: Global.Symbol): Boolean
27.  def isSyntheticWarnable(sym: Global.Symbol): Boolean
28.  def isTrivial(rhs: Global.Tree): Boolean
29.  def isUnusedParam(m: Global.Symbol): Boolean
30.  def isUnusedTerm(m: Global.Symbol): Boolean
31.  def isUnusedType(m: Global.Symbol): Boolean
32.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
33.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
34.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
35.  val params: Set[Global.Symbol]
36.  val patvars: ListBuffer[Global.Tree]
37.  def qualifies(sym: Global.Symbol): Boolean
38.  def qualifiesTerm(sym: Global.Symbol): Boolean
39.  def qualifiesType(sym: Global.Symbol): Boolean
40.  def recordReference(sym: Global.Symbol): Unit
41.  val setVars: Set[Global.Symbol]
42.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
43.  val targets: Set[Global.Symbol]
44.  def toString(): String
    Definition Classes
      AnyRef → Any
45.  def traverse(t: Global.Tree): Unit
    Definition Classes
      UnusedPrivates → Traverser
46.  def traverseAnnotations(annots: List[Global.Tree]): Unit
    Definition Classes
      Traverser
47.  def traverseCases(cases: List[Global.CaseDef]): Unit
    Definition Classes
      Traverser
48.  def traverseConstant(c: Global.Constant): Unit
    Definition Classes
      Traverser
49.  def traverseGuard(guard: Global.Tree): Unit
    Definition Classes
      Traverser
50.  def traverseImportSelector(sel: Global.ImportSelector): Unit
    Definition Classes
      Traverser
51.  def traverseModifiers(mods: Global.Modifiers): Unit
    Definition Classes
      Traverser
52.  def traverseName(name: Global.Name): Unit
    Definition Classes
      Traverser
53.  def traverseParams(params: List[Global.Tree]): Unit
    Definition Classes
      Traverser
54.  def traverseParamss(vparamss: List[List[Global.Tree]]): Unit
    Definition Classes
      Traverser
55.  def traverseParents(parents: List[Global.Tree]): Unit
    Definition Classes
      Traverser
56.  def traversePattern(pat: Global.Tree): Unit
    Definition Classes
      Traverser
57.  def traverseSelfType(self: Global.ValDef): Unit
    Definition Classes
      Traverser
58.  def traverseStats(stats: List[Global.Tree], exprOwner: Global.Symbol): Unit
    Definition Classes
      Traverser
59.  def traverseTrees(trees: List[Global.Tree]): Unit
    Definition Classes
      Traverser
60.  def traverseTreess(treess: List[List[Global.Tree]]): Unit
    Definition Classes
      Traverser
61.  def traverseTypeArgs(args: List[Global.Tree]): Unit
    Definition Classes
      Traverser
62.  def traverseTypeAscription(tpt: Global.Tree): Unit
    Definition Classes
      Traverser
63.  val treeTypes: Set[Global.Type]
64.  def unsetVars: collection.Iterator[Global.Symbol]
65.  def unusedParams: collection.Iterator[Global.Symbol]
66.  def unusedPatVars: collection.Iterator[Global.Tree]
67.  def unusedTerms: collection.Iterator[Global.MemberDef]
68.  def unusedTypes: collection.Iterator[Global.MemberDef]
69.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
70.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
71.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toStringFormat[(TypeDiagnostics.this)#UnusedPrivates] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  def →[B](y: B): ((TypeDiagnostics.this)#UnusedPrivates, B)
   Implicit
     This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates toArrowAssoc[(TypeDiagnostics.this)#UnusedPrivates] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from Global.Traverser

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from(TypeDiagnostics.this)#UnusedPrivates to any2stringadd[(TypeDiagnostics.this)#UnusedPrivates]

### Inherited by implicit conversion StringFormat from(TypeDiagnostics.this)#UnusedPrivates to StringFormat[(TypeDiagnostics.this)#UnusedPrivates]

### Inherited by implicit conversion Ensuring from(TypeDiagnostics.this)#UnusedPrivates to Ensuring[(TypeDiagnostics.this)#UnusedPrivates]

### Inherited by implicit conversion ArrowAssoc from(TypeDiagnostics.this)#UnusedPrivates to ArrowAssoc[(TypeDiagnostics.this)#UnusedPrivates]

### Ungrouped