Scala Compiler2.12.3-1 < 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 AnyRef

  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
  Version

    1.0

-  trait TyperDiagnostics extends AnyRef
  Definition Classes
    TypeDiagnostics
-  object checkUnused
  Definition Classes
    TyperDiagnostics
- UnusedPrivates

c

scala.tools.nsc.typechecker.TypeDiagnostics.TyperDiagnostics.checkUnused

# UnusedPrivates 

###

#### class UnusedPrivates extends Global.Traverser

Source
  TypeDiagnostics.scala

Linear Supertypes
Global.Traverser, AnyRef, Any
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. All

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

### Inherited from Global.Traverser

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from UnusedPrivates to any2stringadd[UnusedPrivates]

### Inherited by implicit conversion StringFormat from UnusedPrivates to StringFormat[UnusedPrivates]

### Inherited by implicit conversion Ensuring from UnusedPrivates to Ensuring[UnusedPrivates]

### Inherited by implicit conversion ArrowAssoc from UnusedPrivates to ArrowAssoc[UnusedPrivates]

### Ungrouped