Packages

  • package root
    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package tools
    Definition Classes
    scala
  • package xsbt
    Definition Classes
    tools
  • class ExtractAPI[GlobalType <: Global] extends Compat with ClassName with GlobalHelpers

    Extracts full (including private members) API representation out of Symbols and Types.

    Extracts full (including private members) API representation out of Symbols and Types.

    API for each class is extracted separately. Inner classes are represented as an empty (without members) member of the outer class and as a separate class with full API representation. For example:

    class A { class B { def foo: Int = 123 } }

    Is represented as:

    // className = A class A { class B } // className = A.B class A.B { def foo: Int }

    Each compilation unit should be processed by a fresh instance of this class.

    NOTE: This class extract *full* API representation. In most of other places in the incremental compiler, only non-private (accessible from other compilation units) members are relevant. Other parts of the incremental compiler filter out private definitions before processing API structures. Check SameAPI for an example.

    Definition Classes
    xsbt
  • Feedback
  • MacroExpansionOf
  • SuppressSymbolRef
c

scala.tools.xsbt.ExtractAPI

SuppressSymbolRef

class SuppressSymbolRef extends GlobalType.TypeMap

Replace all types that directly refer to the forbidden symbol by NoType. (a specialized version of substThisAndSym)

Source
ExtractAPI.scala
Linear Supertypes
GlobalType.TypeMap, (GlobalType.Type) => GlobalType.Type, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SuppressSymbolRef
  2. TypeMap
  3. Function1
  4. AnyRef
  5. 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 SuppressSymbolRef(forbidden: GlobalType.Symbol)

Type Members

  1. class TypeMapTransformer extends reflect.internal.SymbolTable.Transformer
    Definition Classes
    TypeMap

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 SuppressSymbolRef toany2stringadd[SuppressSymbolRef] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (SuppressSymbolRef, B)
    Implicit
    This member is added by an implicit conversion from SuppressSymbolRef toArrowAssoc[SuppressSymbolRef] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def andThen[A](g: (GlobalType.Type) => A): (GlobalType.Type) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(tp: GlobalType.Type): GlobalType.Type
    Definition Classes
    SuppressSymbolRef → TypeMap → Function1
  8. def applyToSymbolInfo(sym: GlobalType.Symbol, info: GlobalType.Type): GlobalType.Type
    Attributes
    protected
    Definition Classes
    TypeMap
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def compose[A](g: (A) => GlobalType.Type): (A) => GlobalType.Type
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. def ensuring(cond: (SuppressSymbolRef) => Boolean, msg: => Any): SuppressSymbolRef
    Implicit
    This member is added by an implicit conversion from SuppressSymbolRef toEnsuring[SuppressSymbolRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (SuppressSymbolRef) => Boolean): SuppressSymbolRef
    Implicit
    This member is added by an implicit conversion from SuppressSymbolRef toEnsuring[SuppressSymbolRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): SuppressSymbolRef
    Implicit
    This member is added by an implicit conversion from SuppressSymbolRef toEnsuring[SuppressSymbolRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): SuppressSymbolRef
    Implicit
    This member is added by an implicit conversion from SuppressSymbolRef toEnsuring[SuppressSymbolRef] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. def mapOver(tree: GlobalType.Tree, giveup: () => Nothing): GlobalType.Tree
    Definition Classes
    TypeMap
  23. def mapOver(tree: GlobalType.Tree): GlobalType.Tree
    Definition Classes
    TypeMap
  24. def mapOver(annot: GlobalType.AnnotationInfo): GlobalType.AnnotationInfo
    Definition Classes
    TypeMap
  25. def mapOver(origSyms: List[GlobalType.Symbol]): List[GlobalType.Symbol]
    Definition Classes
    TypeMap
  26. def mapOver(scope: GlobalType.Scope): GlobalType.Scope
    Definition Classes
    TypeMap
  27. def mapOver(tp: GlobalType.Type): GlobalType.Type
    Definition Classes
    TypeMap
  28. def mapOverAnnotArgs(args: List[GlobalType.Tree]): List[GlobalType.Tree]
    Definition Classes
    TypeMap
  29. def mapOverAnnotations(annots: List[GlobalType.AnnotationInfo]): List[GlobalType.AnnotationInfo]
    Definition Classes
    TypeMap
  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. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. 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 SuppressSymbolRef toStringFormat[SuppressSymbolRef] 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): (SuppressSymbolRef, B)
    Implicit
    This member is added by an implicit conversion from SuppressSymbolRef toArrowAssoc[SuppressSymbolRef] 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 GlobalType.TypeMap

Inherited from (GlobalType.Type) => GlobalType.Type

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromSuppressSymbolRef to any2stringadd[SuppressSymbolRef]

Inherited by implicit conversion StringFormat fromSuppressSymbolRef to StringFormat[SuppressSymbolRef]

Inherited by implicit conversion Ensuring fromSuppressSymbolRef to Ensuring[SuppressSymbolRef]

Inherited by implicit conversion ArrowAssoc fromSuppressSymbolRef to ArrowAssoc[SuppressSymbolRef]

Ungrouped