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

  • TypeDiag
  • TyperDiagnostics
  • UnusedPrivates
  • checkDead
  • checkUnused

class UnusedPrivates extends Global.Traverser

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 (TypeDiagnostics.this)#UnusedPrivates to any2stringadd[(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 to ArrowAssoc[(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 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  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: ((TypeDiagnostics.this)#UnusedPrivates) ⇒ Boolean, msg: ⇒ Any): (TypeDiagnostics.this)#UnusedPrivates
    Implicit
    This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates to Ensuring[(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 to Ensuring[(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 to Ensuring[(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 to Ensuring[(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: Any): 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[_]
    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 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
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  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( ... ) @native()
  72. def [B](y: B): ((TypeDiagnostics.this)#UnusedPrivates, B)
    Implicit
    This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates to ArrowAssoc[(TypeDiagnostics.this)#UnusedPrivates] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from (TypeDiagnostics.this)#UnusedPrivates to StringFormat[(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.

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