Scala Compiler2.12.6 < 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
- checkMacroExpandee
- skipMacroCall
- skipMacroExpansion

c

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

# UnusedPrivates 

###

#### class UnusedPrivates extends Global.Traverser

Source
  TypeDiagnostics.scala

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