scala.reflect.api.Symbols

FreeTermSymbolApi

trait FreeTermSymbolApi extends Universe.TermSymbolApi with Universe.FreeTermSymbolBase

The API of free term symbols

Self Type
Universe.FreeTermSymbol
Source
Symbols.scala
Linear Supertypes
Universe.FreeTermSymbolBase, Universe.TermSymbolApi, Universe.TermSymbolBase, Universe.SymbolApi, Universe.HasFlagsApi, Universe.SymbolBase, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FreeTermSymbolApi
  2. FreeTermSymbolBase
  3. TermSymbolApi
  4. TermSymbolBase
  5. SymbolApi
  6. HasFlagsApi
  7. SymbolBase
  8. AnyRef
  9. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final type NameType = Universe.TermName

    Term symbols have their names of type TermName.

    Term symbols have their names of type TermName.

    Definition Classes
    TermSymbolBaseSymbolBase

Abstract Value Members

  1. abstract def alternatives: List[Universe.Symbol]

    The overloaded alternatives of this symbol

    The overloaded alternatives of this symbol

    Definition Classes
    TermSymbolApi
  2. abstract def companionSymbol: Universe.Symbol

    For a class: the module or case class factory with the same name in the same package.

    For a class: the module or case class factory with the same name in the same package. For a module: the class with the same name in the same package. For all others: NoSymbol

    Definition Classes
    SymbolApi
  3. abstract def enclosingPackageClass: Universe.Symbol

    If this symbol is a package class, this symbol; otherwise the next enclosing package class, or NoSymbol if none exists.

    If this symbol is a package class, this symbol; otherwise the next enclosing package class, or NoSymbol if none exists.

    Definition Classes
    SymbolApi
  4. abstract def enclosingTopLevelClass: Universe.Symbol

    If this symbol is a top-level class, this symbol; otherwise the next enclosing top-level class, or NoSymbol if none exists.

    If this symbol is a top-level class, this symbol; otherwise the next enclosing top-level class, or NoSymbol if none exists.

    Definition Classes
    SymbolApi
  5. abstract def filter(cond: (Universe.Symbol) ⇒ Boolean): Universe.Symbol

    .

    ...

    Definition Classes
    SymbolApi
  6. abstract def flagString: String

    Definition Classes
    HasFlagsApi
  7. abstract def flags: Universe.FlagSet

    Definition Classes
    HasFlagsApi
  8. abstract def fullName: String

    The encoded full path name of this symbol, where outer names and inner names are separated by periods.

    The encoded full path name of this symbol, where outer names and inner names are separated by periods.

    Definition Classes
    SymbolBase
  9. abstract def getAnnotations: List[Universe.AnnotationInfo]

    A list of annotations attached to this Symbol.

    A list of annotations attached to this Symbol.

    Definition Classes
    SymbolApi
  10. abstract def hasAllFlags(fs: Universe.FlagSet): Boolean

    Definition Classes
    HasFlagsApi
  11. abstract def hasAnnotation(sym: Universe.Symbol): Boolean

    Whether this symbol carries an annotation for which the given symbol is its typeSymbol.

    Whether this symbol carries an annotation for which the given symbol is its typeSymbol.

    Definition Classes
    SymbolApi
  12. abstract def hasFlag(fs: Universe.FlagSet): Boolean

    Definition Classes
    HasFlagsApi
  13. abstract def id: Int

    An id number which is unique for all symbols in this universe

    An id number which is unique for all symbols in this universe

    Definition Classes
    SymbolBase
  14. abstract def isAbstractType: Boolean

    Does this symbol represent the definition of an abstract type? If yes, isType is also guaranteed to be true.

    Does this symbol represent the definition of an abstract type? If yes, isType is also guaranteed to be true.

    Definition Classes
    SymbolApi
  15. abstract def isAccessor: Boolean

    Does this symbol represent a getter or a setter?

    Does this symbol represent a getter or a setter?

    Definition Classes
    SymbolApi
  16. abstract def isAliasType: Boolean

    Does this symbol represent the definition of a type alias? If yes, isType is also guaranteed to be true.

    Does this symbol represent the definition of a type alias? If yes, isType is also guaranteed to be true.

    Definition Classes
    SymbolApi
  17. abstract def isDerivedValueClass: Boolean

    Does this symbol represent the definition of a custom value class? Namely, is AnyVal among its parent classes? TODO: Why not just have in reflect.

    Does this symbol represent the definition of a custom value class? Namely, is AnyVal among its parent classes? TODO: Why not just have in reflect.internal? [Eugene++] because it's useful for macros

    Definition Classes
    SymbolApi
  18. abstract def isErroneous: Boolean

    Does this symbol or its underlying type represent a typechecking error?

    Does this symbol or its underlying type represent a typechecking error?

    Definition Classes
    SymbolApi
  19. abstract def isExistential: Boolean

    Does this symbol represent an existentially bound type? If yes, isType is also guaranteed to be true.

    Does this symbol represent an existentially bound type? If yes, isType is also guaranteed to be true.

    Definition Classes
    SymbolApi
  20. abstract def isGetter: Boolean

    Does this symbol represent a getter of a field? If yes, isTerm and isMethod are also guaranteed to be true.

    Does this symbol represent a getter of a field? If yes, isTerm and isMethod are also guaranteed to be true.

    Definition Classes
    SymbolApi
  21. abstract def isLocatable: Boolean

    Can this symbol be loaded by a reflective mirror?

    Can this symbol be loaded by a reflective mirror?

    Scalac relies on ScalaSignature' annotation to retain symbols across compilation runs. Such annotations (also called "pickles") are applied on top-level classes and include information about all symbols reachable from the annotee. However, local symbols (e.g. classes or definitions local to a block) are typically unreachable and information about them gets lost.

    This method is useful for macro writers who wish to save certain ASTs to be used at runtime. With isLocatable' it's possible to check whether a tree can be retained as is, or it needs special treatment.

    Definition Classes
    SymbolApi
  22. abstract def isNumericValueClass: Boolean

    Does this symbol represent the definition of a numeric value class? Namely, is it one of scala.Double, scala.Float, scala.Long, scala.Int, scala.Char, scala.Short, scala.Byte, scala.Unit or scala.Boolean?

    Does this symbol represent the definition of a numeric value class? Namely, is it one of scala.Double, scala.Float, scala.Long, scala.Int, scala.Char, scala.Short, scala.Byte, scala.Unit or scala.Boolean?

    Definition Classes
    SymbolApi
  23. abstract def isOverloaded: Boolean

    Is this symbol an overloaded method?

    Is this symbol an overloaded method?

    Definition Classes
    SymbolApi
  24. abstract def isPackage: Boolean

    Does this symbol represent the definition of a package? If yes, isTerm is also guaranteed to be true.

    Does this symbol represent the definition of a package? If yes, isTerm is also guaranteed to be true.

    Definition Classes
    SymbolApi
  25. abstract def isPackageClass: Boolean

    Does this symbol represent a package class? If yes, isClass is also guaranteed to be true.

    Does this symbol represent a package class? If yes, isClass is also guaranteed to be true.

    Definition Classes
    SymbolApi
  26. abstract def isPrimitiveValueClass: Boolean

    Does this symbol represent the definition of a primitive class? Namely, is it one of scala.Double, scala.Float, scala.Long, scala.Int, scala.Char, scala.Short, scala.Byte, scala.Unit or scala.Boolean?

    Does this symbol represent the definition of a primitive class? Namely, is it one of scala.Double, scala.Float, scala.Long, scala.Int, scala.Char, scala.Short, scala.Byte, scala.Unit or scala.Boolean?

    Definition Classes
    SymbolApi
  27. abstract def isSetter: Boolean

    Does this symbol represent a setter of a field? If yes, isTerm and isMethod are also guaranteed to be true.

    Does this symbol represent a setter of a field? If yes, isTerm and isMethod are also guaranteed to be true.

    Definition Classes
    SymbolApi
  28. abstract def isStable: Boolean

    Does this symbol denote a stable value?

    Does this symbol denote a stable value?

    Definition Classes
    SymbolApi
  29. abstract def isStatic: Boolean

    Is this symbol static (i.

    Is this symbol static (i.e. with no outer instance)? Q: When exactly is a sym marked as STATIC? A: If it's a member of a toplevel object, or of an object contained in a toplevel object, or any number of levels deep. http://groups.google.com/group/scala-internals/browse_thread/thread/d385bcd60b08faf6

    Definition Classes
    SymbolApi
  30. abstract def isValue: Boolean

    Does this symbol represent a value, i.

    Does this symbol represent a value, i.e. not a module and not a method? If yes, isTerm is also guaranteed to be true. [Eugene++] I need a review of the implementation

    Definition Classes
    SymbolApi
  31. abstract def isVariable: Boolean

    Does this symbol represent a mutable value? If yes, isTerm and isValue are also guaranteed to be true.

    Does this symbol represent a mutable value? If yes, isTerm and isValue are also guaranteed to be true.

    Definition Classes
    SymbolApi
  32. abstract def kind: String

    The string discriminator of this symbol; useful for debugging

    The string discriminator of this symbol; useful for debugging

    Definition Classes
    SymbolApi
  33. abstract def map(f: (Universe.Symbol) ⇒ Universe.Symbol): Universe.Symbol

    If this is a NoSymbol, returns NoSymbol, otherwise returns the result of applying f to this symbol.

    If this is a NoSymbol, returns NoSymbol, otherwise returns the result of applying f to this symbol.

    Definition Classes
    SymbolApi
  34. abstract def name: Universe.Name

    The name of the symbol as a member of the Name type.

    The name of the symbol as a member of the Name type.

    Definition Classes
    SymbolBase
  35. abstract def newClassSymbol(name: Universe.TypeName, pos: Universe.Position = NoPosition, flags: Universe.FlagSet = NoFlags): Universe.ClassSymbol

    Definition Classes
    SymbolBase
  36. abstract def newMethodSymbol(name: Universe.TermName, pos: Universe.Position = NoPosition, flags: Universe.FlagSet = NoFlags): Universe.MethodSymbol

    Definition Classes
    SymbolBase
  37. abstract def newModuleAndClassSymbol(name: Universe.Name, pos: Universe.Position = NoPosition, flags: Universe.FlagSet = NoFlags): (Universe.ModuleSymbol, Universe.ClassSymbol)

    Definition Classes
    SymbolBase
  38. abstract def newTermSymbol(name: Universe.TermName, pos: Universe.Position = NoPosition, flags: Universe.FlagSet = NoFlags): Universe.TermSymbol

    Definition Classes
    SymbolBase
  39. abstract def newTypeSymbol(name: Universe.TypeName, pos: Universe.Position = NoPosition, flags: Universe.FlagSet = NoFlags): Universe.TypeSymbol

    Definition Classes
    SymbolBase
  40. abstract def orElse(alt: ⇒ Universe.Symbol): Universe.Symbol

    .

    ...

    Definition Classes
    SymbolApi
  41. abstract def origin: String

    The place where this symbol has been spawned

  42. abstract def owner: Universe.Symbol

    The owner of this symbol.

    The owner of this symbol. This is the symbol that directly contains the current symbol's definition. The NoSymbol symbol does not have an owner, and calling this method on one causes an internal error. The owner of the Scala root class scala.reflect.api.mirror.RootClass and the Scala root object scala.reflect.api.mirror.RootPackage is NoSymbol. Every other symbol has a chain of owners that ends in scala.reflect.api.mirror.RootClass.

    Definition Classes
    SymbolBase
  43. abstract def pos: Universe.Position

    The position of this symbol

    The position of this symbol

    Definition Classes
    SymbolApi
  44. abstract def privateWithin: Universe.Symbol

    Set when symbol has a modifier of the form private[X], NoSymbol otherwise.

    Set when symbol has a modifier of the form private[X], NoSymbol otherwise.

    Access level encoding: there are three scala flags (PRIVATE, PROTECTED, and LOCAL) which combine with value privateWithin (the "foo" in private[foo]) to define from where an entity can be accessed. The meanings are as follows:

    PRIVATE access restricted to class only. PROTECTED access restricted to class and subclasses only. LOCAL can only be set in conjunction with PRIVATE or PROTECTED. Further restricts access to the same object instance.

    In addition, privateWithin can be used to set a visibility barrier. When set, everything contained in the named enclosing package or class has access. It is incompatible with PRIVATE or LOCAL, but is additive with PROTECTED (i.e. if either the flags or privateWithin allow access, then it is allowed.)

    The java access levels translate as follows:

    java private: hasFlag(PRIVATE) && (privateWithin == NoSymbol) java package: !hasFlag(PRIVATE | PROTECTED) && (privateWithin == enclosingPackage) java protected: hasFlag(PROTECTED) && (privateWithin == enclosingPackage) java public: !hasFlag(PRIVATE | PROTECTED) && (privateWithin == NoSymbol)

    Definition Classes
    SymbolApi
  45. abstract def resolveOverloaded(pre: Universe.Type = NoPrefix, targs: Seq[Universe.Type] = List(), posVargs: Seq[Universe.Type] = List(), nameVargs: Seq[(Universe.TermName, Universe.Type)] = List(), expected: Universe.Type = NoType): Universe.Symbol

    Performs method overloading resolution.

    Performs method overloading resolution. More precisely, resolves an overloaded TermSymbol to a single, non-overloaded TermSymbol that accepts the specified argument types.

    pre

    The prefix type, i.e. the type of the value the method is dispatched on. This is required when resolving references to type parameters of the type the method is declared in. For example if the method is declared in class List[A], providing the prefix as List[Int] allows the overloading resolution to use Int instead of A.

    targs

    Type arguments that a candidate alternative must be able to accept. Candidates will be considered with these arguments substituted for their corresponding type parameters.

    posVargs

    Positional argument types that a candidate alternative must be able to accept.

    nameVargs

    Named argument types that a candidate alternative must be able to accept. Each element in the sequence should be a pair of a parameter name and an argument type.

    expected

    Return type that a candidate alternative has to be compatible with.

    returns

    Either a single, non-overloaded Symbol referring to the selected alternative or NoSymbol if no single member could be selected given the passed arguments.

    Definition Classes
    TermSymbolApi
  46. abstract def suchThat(cond: (Universe.Symbol) ⇒ Boolean): Universe.Symbol

    .

    ...

    Definition Classes
    SymbolApi
  47. abstract def typeSignature: Universe.Type

    The type signature of this symbol.

    The type signature of this symbol. Note if the symbol is a member of a class, one almost always is interested in typeSignatureIn with a site type instead.

    Definition Classes
    SymbolApi
  48. abstract def typeSignatureIn(site: Universe.Type): Universe.Type

    The type signature of this symbol seen as a member of given type site.

    The type signature of this symbol seen as a member of given type site.

    Definition Classes
    SymbolApi
  49. abstract def value: Any

    The valus this symbol refers to

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    Any
  3. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Universe.FreeTermSymbolApi, B)

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to ArrowAssoc[Universe.FreeTermSymbolApi] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  8. def asClassSymbol: Universe.ClassSymbol

    This symbol cast to a ClassSymbol representing a class or trait.

    This symbol cast to a ClassSymbol representing a class or trait. Returns ClassCastException if isClass is false.

    Definition Classes
    SymbolBase
  9. final def asFreeTermSymbol: Universe.FreeTermSymbol

    This symbol cast to a free term symbol.

    This symbol cast to a free term symbol. Returns ClassCastException if isFreeTerm is false.

    Definition Classes
    FreeTermSymbolBaseSymbolBase
  10. def asFreeTypeSymbol: Universe.FreeTypeSymbol

    This symbol cast to a free type symbol.

    This symbol cast to a free type symbol. Returns ClassCastException if isFreeType is false.

    Definition Classes
    SymbolBase
  11. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  12. def asMethodSymbol: Universe.MethodSymbol

    This symbol cast to a MethodSymbol.

    This symbol cast to a MethodSymbol. Returns ClassCastException if isMethod is false.

    Definition Classes
    SymbolBase
  13. def asModuleSymbol: Universe.ModuleSymbol

    This symbol cast to a ModuleSymbol defined by an object definition.

    This symbol cast to a ModuleSymbol defined by an object definition. Returns ClassCastException if isModule is false.

    Definition Classes
    SymbolBase
  14. final def asTermSymbol: Universe.TermSymbol

    This symbol cast to a TermSymbol.

    This symbol cast to a TermSymbol. Returns ClassCastException if isTerm is false.

    Definition Classes
    TermSymbolBaseSymbolBase
  15. def asTypeSymbol: Universe.TypeSymbol

    This symbol cast to a TypeSymbol.

    This symbol cast to a TypeSymbol. Returns ClassCastException if isType is false.

    Definition Classes
    SymbolBase
  16. def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  17. def enclosingClass: Universe.Symbol

    If this symbol is a class, this symbol; otherwise the next enclosing class, or NoSymbol if none exists.

    If this symbol is a class, this symbol; otherwise the next enclosing class, or NoSymbol if none exists.

    Definition Classes
    SymbolBase
  18. def enclosingMethod: Universe.Symbol

    If this symbol is a method, this symbol; otherwise the next enclosing method, or NoSymbol if none exists.

    If this symbol is a method, this symbol; otherwise the next enclosing method, or NoSymbol if none exists.

    Definition Classes
    SymbolBase
  19. def ensuring(cond: (Universe.FreeTermSymbolApi) ⇒ Boolean, msg: ⇒ Any): Universe.FreeTermSymbolApi

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to Ensuring[Universe.FreeTermSymbolApi] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: (Universe.FreeTermSymbolApi) ⇒ Boolean): Universe.FreeTermSymbolApi

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to Ensuring[Universe.FreeTermSymbolApi] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean, msg: ⇒ Any): Universe.FreeTermSymbolApi

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to Ensuring[Universe.FreeTermSymbolApi] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: Boolean): Universe.FreeTermSymbolApi

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to Ensuring[Universe.FreeTermSymbolApi] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. final def eq(arg0: AnyRef): Boolean

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in scala.Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  26. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  27. final def getClass(): Class[_]

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  28. def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

    the hash code value for this object.

    Definition Classes
    AnyRef → Any
  29. def isClass: Boolean

    Does this symbol represent the definition of a class or trait? If yes, isType is also guaranteed to be true.

    Does this symbol represent the definition of a class or trait? If yes, isType is also guaranteed to be true.

    Definition Classes
    SymbolBase
  30. final def isFreeTerm: Boolean

    Does this symbol represent a free term captured by reification? If yes, isTerm is also guaranteed to be true.

    Does this symbol represent a free term captured by reification? If yes, isTerm is also guaranteed to be true.

    Definition Classes
    FreeTermSymbolBaseSymbolBase
  31. def isFreeType: Boolean

    Does this symbol represent a free type captured by reification? If yes, isType is also guaranteed to be true.

    Does this symbol represent a free type captured by reification? If yes, isType is also guaranteed to be true.

    Definition Classes
    SymbolBase
  32. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  33. def isMethod: Boolean

    Does this symbol represent the definition of a method? If yes, isTerm is also guaranteed to be true.

    Does this symbol represent the definition of a method? If yes, isTerm is also guaranteed to be true.

    Definition Classes
    SymbolBase
  34. def isModule: Boolean

    Does this symbol represent the definition of a module (i.

    Does this symbol represent the definition of a module (i.e. it results from an object definition?). If yes, isTerm is also guaranteed to be true.

    Definition Classes
    SymbolBase
  35. def isModuleClass: Boolean

    Does this symbol represent the definition of a class implicitly associated with an object definition (module class in scala compiler parlance).

    Does this symbol represent the definition of a class implicitly associated with an object definition (module class in scala compiler parlance). If yes, isType is also guaranteed to be true.

    Definition Classes
    SymbolBase
  36. final def isTerm: Boolean

    Does this symbol represent the definition of a term? Note that every symbol is either a term or a term.

    Does this symbol represent the definition of a term? Note that every symbol is either a term or a term. So for every symbol sym, either sym.isTerm is true or sym.isTerm is true.

    Definition Classes
    TermSymbolBaseSymbolBase
  37. def isType: Boolean

    Does this symbol represent the definition of a type? Note that every symbol is either a term or a type.

    Does this symbol represent the definition of a type? Note that every symbol is either a term or a type. So for every symbol sym, either sym.isTerm is true or sym.isType is true.

    Definition Classes
    SymbolBase
  38. final def ne(arg0: AnyRef): Boolean

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  39. final def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  40. final def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AnyRef → Any
  43. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  45. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. def [B](y: B): (Universe.FreeTermSymbolApi, B)

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to ArrowAssoc[Universe.FreeTermSymbolApi] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (freeTermSymbolApi: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (freeTermSymbolApi: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: Universe.FreeTermSymbolApi

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to ArrowAssoc[Universe.FreeTermSymbolApi] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (freeTermSymbolApi: ArrowAssoc[Universe.FreeTermSymbolApi]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Universe.FreeTermSymbolApi

    Implicit information
    This member is added by an implicit conversion from Universe.FreeTermSymbolApi to Ensuring[Universe.FreeTermSymbolApi] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (freeTermSymbolApi: Ensuring[Universe.FreeTermSymbolApi]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Universe.FreeTermSymbolBase

Inherited from Universe.TermSymbolApi

Inherited from Universe.TermSymbolBase

Inherited from Universe.SymbolApi

Inherited from Universe.HasFlagsApi

Inherited from Universe.SymbolBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Universe.FreeTermSymbolApi to StringAdd

Inherited by implicit conversion any2stringfmt from Universe.FreeTermSymbolApi to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Universe.FreeTermSymbolApi to ArrowAssoc[Universe.FreeTermSymbolApi]

Inherited by implicit conversion any2Ensuring from Universe.FreeTermSymbolApi to Ensuring[Universe.FreeTermSymbolApi]

No Group