Scala Compiler2.13.18 < 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 tasty
  Definition Classes
    nsc
-  package bridge
  Definition Classes
    tasty
-  trait SymbolOps extends AnyRef

  This layer deals with selecting a member symbol from a type using a `TastyName`, also contains factories for making type references to symbols.

  This layer deals with selecting a member symbol from a type using a `TastyName`, also contains factories for making type references to symbols.

  Definition Classes
    bridge
- SymbolDecorator

c

scala.tools.nsc.tasty.bridge.SymbolOps

# SymbolDecorator

###

#### implicit final class SymbolDecorator extends AnyRef

Source
  SymbolOps.scala

Linear Supertypes
AnyRef, Any
Type Hierarchy

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. SymbolDecorator
2. AnyRef
3. Any

Implicitly

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

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new SymbolDecorator(sym: TastyUniverse.Symbol)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def !==(u: TastyUniverse.SymbolDecorator): Boolean
   Implicit
     This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toSafeEq[TastyUniverse.SymbolDecorator] performed by method SafeEq in scala.tools.nsc.tasty.
   Definition Classes
     SafeEq
   Annotations
     @inline()
3.  final def ##: Int
   Definition Classes
     AnyRef → Any
4.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toany2stringadd[TastyUniverse.SymbolDecorator] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
5.  def ->[B](y: B): (TastyUniverse.SymbolDecorator, B)
   Implicit
     This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toArrowAssoc[TastyUniverse.SymbolDecorator] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
6.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
7.  final def ===(u: TastyUniverse.SymbolDecorator): Boolean
   Implicit
     This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toSafeEq[TastyUniverse.SymbolDecorator] performed by method SafeEq in scala.tools.nsc.tasty.
   Definition Classes
     SafeEq
   Annotations
     @inline()
8.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
9.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
10.  def ensureCompleted(forceKinds: ForceKinds)(implicit ctx: TastyUniverse.Context): Unit
11.  def ensuring(cond: (TastyUniverse.SymbolDecorator) => Boolean, msg: => Any): TastyUniverse.SymbolDecorator
    Implicit
      This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toEnsuring[TastyUniverse.SymbolDecorator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
12.  def ensuring(cond: (TastyUniverse.SymbolDecorator) => Boolean): TastyUniverse.SymbolDecorator
    Implicit
      This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toEnsuring[TastyUniverse.SymbolDecorator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  def ensuring(cond: Boolean, msg: => Any): TastyUniverse.SymbolDecorator
    Implicit
      This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toEnsuring[TastyUniverse.SymbolDecorator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  def ensuring(cond: Boolean): TastyUniverse.SymbolDecorator
    Implicit
      This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toEnsuring[TastyUniverse.SymbolDecorator] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
16.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
17.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
18.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
19.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
20.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
21.  def isParamGetter: Boolean
22.  def isScala2Macro: Boolean
23.  def isScala3Inline: Boolean
24.  def isTraitParamAccessor: Boolean
25.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
26.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
27.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
28.  def objectImplementation: TastyUniverse.Symbol
29.  def ref: TastyUniverse.Type
30.  def repr: TastyUniverse.TastyRepr

    A computed property that should only be called on a symbol which is known to have been initialised by the Tasty Unpickler and is not yet completed.

    A computed property that should only be called on a symbol which is known to have been initialised by the Tasty Unpickler and is not yet completed.

    To do

      adapt callsites and type so that this property is more safe to call (barring mutation from uncontrolled code)

31.  def safeOwner: TastyUniverse.Symbol
32.  def sourceObject: TastyUniverse.Symbol
33.  val sym: TastyUniverse.Symbol
34.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
35.  def toString(): String
    Definition Classes
      AnyRef → Any
36.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
37.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
38.  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 TastyUniverse.SymbolDecorator toStringFormat[TastyUniverse.SymbolDecorator] 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): (TastyUniverse.SymbolDecorator, B)
   Implicit
     This member is added by an implicit conversion from TastyUniverse.SymbolDecorator toArrowAssoc[TastyUniverse.SymbolDecorator] 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 AnyRef

### Inherited from Any

### Inherited by implicit conversion SafeEq fromTastyUniverse.SymbolDecorator to SafeEq[TastyUniverse.SymbolDecorator]

### Inherited by implicit conversion any2stringadd fromTastyUniverse.SymbolDecorator to any2stringadd[TastyUniverse.SymbolDecorator]

### Inherited by implicit conversion StringFormat fromTastyUniverse.SymbolDecorator to StringFormat[TastyUniverse.SymbolDecorator]

### Inherited by implicit conversion Ensuring fromTastyUniverse.SymbolDecorator to Ensuring[TastyUniverse.SymbolDecorator]

### Inherited by implicit conversion ArrowAssoc fromTastyUniverse.SymbolDecorator to ArrowAssoc[TastyUniverse.SymbolDecorator]

### Ungrouped