scala.reflect.internal.StdNames

TypeNames

abstract class TypeNames extends SymbolTable.Keywords with SymbolTable.TypeNamesApi

Source
StdNames.scala
Linear Supertypes
SymbolTable.TypeNamesApi, SymbolTable.TypeNamesBase, SymbolTable.Keywords, SymbolTable.CommonNames, SymbolTable.NamesApi, SymbolTable.NamesBase, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypeNames
  2. TypeNamesApi
  3. TypeNamesBase
  4. Keywords
  5. CommonNames
  6. NamesApi
  7. NamesBase
  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

Instance Constructors

  1. new TypeNames()

Type Members

  1. type NameType = SymbolTable.TypeName

    Definition Classes
    TypeNamesCommonNamesNamesBase

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 SymbolTable.TypeNames to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (SymbolTable.TypeNames, B)

    Implicit information
    This member is added by an implicit conversion from SymbolTable.TypeNames to ArrowAssoc[SymbolTable.TypeNames] 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. final val ABSTRACTkw: SymbolTable.TermName

    Definition Classes
    Keywords
  9. val ANON_CLASS_NAME: NameType

    Definition Classes
    CommonNames
  10. val ANON_FUN_NAME: NameType

    Definition Classes
    CommonNames
  11. final val ARROWkw: SymbolTable.TermName

    Definition Classes
    Keywords
  12. final val ATkw: SymbolTable.TermName

    Definition Classes
    Keywords
  13. final val AbsTypeTag: NameType

    Definition Classes
    CommonNames
  14. final val Annotation: NameType

  15. final val AnnotationDefaultATTR: NameType

  16. final val Any: NameType

  17. final val AnyRef: NameType

    Definition Classes
    CommonNames
  18. final val AnyVal: NameType

  19. final val Array: NameType

    Definition Classes
    CommonNames
  20. final val BYNAME_PARAM_CLASS_NAME: NameType

  21. final val BeanPropertyAnnot: NameType

  22. final val Boolean: NameType

    Definition Classes
    CommonNames
  23. final val BooleanBeanPropertyAnnot: NameType

  24. final val BridgeATTR: NameType

  25. final val Byte: NameType

    Definition Classes
    CommonNames
  26. final val CASEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  27. final val CATCHkw: SymbolTable.TermName

    Definition Classes
    Keywords
  28. final val CLASSkw: SymbolTable.TermName

    Definition Classes
    Keywords
  29. final val COLONkw: SymbolTable.TermName

    Definition Classes
    Keywords
  30. final val Char: NameType

    Definition Classes
    CommonNames
  31. final val ClassManifest: NameType

  32. final val ClassTag: NameType

    Definition Classes
    CommonNames
  33. final val ClassfileAnnotation: NameType

  34. final val ClassfileAnnotationATTR: NameType

  35. final val CodeATTR: NameType

  36. final val ConstantValueATTR: NameType

  37. final val DEFkw: SymbolTable.TermName

    Definition Classes
    Keywords
  38. final val DOTkw: SymbolTable.TermName

    Definition Classes
    Keywords
  39. final val DOkw: SymbolTable.TermName

    Definition Classes
    Keywords
  40. final val DeprecatedATTR: NameType

  41. final val Double: NameType

    Definition Classes
    CommonNames
  42. final val ELSEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  43. val EMPTY: NameType

    Definition Classes
    CommonNamesNamesApi
  44. val EMPTY_PACKAGE_NAME: NameType

    Definition Classes
    CommonNames
  45. final val EQUALS_PATTERN_NAME: NameType

  46. final val EQUALSkw: SymbolTable.TermName

    Definition Classes
    Keywords
  47. final val ERROR: NameType

    Definition Classes
    CommonNamesNamesApi
  48. final val EXTENDSkw: SymbolTable.TermName

    Definition Classes
    Keywords
  49. final val Enum: NameType

  50. final val ExceptionsATTR: NameType

  51. final val Expr: NameType

    Definition Classes
    CommonNames
  52. final val ExprApi: NameType

  53. final val FALSEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  54. final val FINALLYkw: SymbolTable.TermName

    Definition Classes
    Keywords
  55. final val FINALkw: SymbolTable.TermName

    Definition Classes
    Keywords
  56. final val FORSOMEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  57. final val FORkw: SymbolTable.TermName

    Definition Classes
    Keywords
  58. final val Float: NameType

    Definition Classes
    CommonNames
  59. final val Group: NameType

  60. final val HASHkw: SymbolTable.TermName

    Definition Classes
    Keywords
  61. final val IFkw: SymbolTable.TermName

    Definition Classes
    Keywords
  62. final val IMPLICITkw: SymbolTable.TermName

    Definition Classes
    Keywords
  63. val IMPL_CLASS_SUFFIX: String

    Definition Classes
    CommonNames
  64. val IMPORT: NameType

    Definition Classes
    CommonNames
  65. final val IMPORTkw: SymbolTable.TermName

    Definition Classes
    Keywords
  66. final val InnerClassesATTR: NameType

  67. final val Int: NameType

    Definition Classes
    CommonNames
  68. final val JAVA_REPEATED_PARAM_CLASS_NAME: NameType

  69. final val LARROWkw: SymbolTable.TermName

    Definition Classes
    Keywords
  70. final val LAZYkw: SymbolTable.TermName

    Definition Classes
    Keywords
  71. final val LOCAL_CHILD: NameType

  72. final val LineNumberTableATTR: NameType

  73. final val List: NameType

    Definition Classes
    CommonNames
  74. final val LocalVariableTableATTR: NameType

  75. final val Long: NameType

    Definition Classes
    CommonNames
  76. final val MACROkw: SymbolTable.TermName

    Definition Classes
    Keywords
  77. final val MATCHkw: SymbolTable.TermName

    Definition Classes
    Keywords
  78. val MODULE_SUFFIX_NAME: NameType

    Definition Classes
    CommonNames
  79. val MODULE_SUFFIX_STRING: String

    Definition Classes
    CommonNames
  80. val MODULE_VAR_SUFFIX: NameType

    Definition Classes
    CommonNames
  81. final val Mirror: NameType

  82. val NAME_JOIN_NAME: NameType

    Definition Classes
    CommonNames
  83. val NAME_JOIN_STRING: String

    Definition Classes
    CommonNames
  84. final val NEWkw: SymbolTable.TermName

    Definition Classes
    Keywords
  85. final val NO_NAME: NameType

    Definition Classes
    CommonNames
  86. final val NULLkw: SymbolTable.TermName

    Definition Classes
    Keywords
  87. final val Nothing: NameType

  88. final val Null: NameType

  89. final val OBJECTkw: SymbolTable.TermName

    Definition Classes
    Keywords
  90. final val OVERRIDEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  91. final val Object: NameType

  92. val PACKAGE: NameType

    Definition Classes
    CommonNamesNamesApi
  93. final val PACKAGEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  94. final val PRIVATEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  95. final val PROTECTEDkw: SymbolTable.TermName

    Definition Classes
    Keywords
  96. final val PartialFunction: NameType

  97. final val PrefixType: NameType

  98. final val Product: NameType

  99. final val REFINE_CLASS_NAME: NameType

  100. final val REIFY_TREECREATOR_PREFIX: NameType

  101. final val REIFY_TYPECREATOR_PREFIX: NameType

  102. final val REPEATED_PARAM_CLASS_NAME: NameType

  103. final val RETURNkw: SymbolTable.TermName

    Definition Classes
    Keywords
  104. val ROOT: NameType

    Definition Classes
    CommonNamesNamesApi
  105. final val RuntimeAnnotationATTR: NameType

  106. final val RuntimeParamAnnotationATTR: NameType

  107. final val SEALEDkw: SymbolTable.TermName

    Definition Classes
    Keywords
  108. val SINGLETON_SUFFIX: String

    Definition Classes
    CommonNames
  109. val SPECIALIZED_SUFFIX: NameType

    Definition Classes
    CommonNames
  110. final val SUBTYPEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  111. final val SUPERTYPEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  112. final val SUPERkw: SymbolTable.TermName

    Definition Classes
    Keywords
  113. final val ScalaATTR: NameType

  114. final val ScalaSignatureATTR: NameType

  115. final val ScalaValueNames: List[NameType]

    Definition Classes
    CommonNames
  116. final val Seq: NameType

    Definition Classes
    CommonNames
  117. final val Serializable: NameType

  118. final val Short: NameType

    Definition Classes
    CommonNames
  119. final val SignatureATTR: NameType

  120. final val Singleton: NameType

  121. final val SourceFileATTR: NameType

  122. final val String: NameType

    Definition Classes
    CommonNames
  123. final val Symbol: NameType

    Definition Classes
    CommonNames
  124. final val SyntheticATTR: NameType

  125. final val THENkw: SymbolTable.TermName

    Definition Classes
    Keywords
  126. final val THISkw: SymbolTable.TermName

    Definition Classes
    Keywords
  127. final val THROWkw: SymbolTable.TermName

    Definition Classes
    Keywords
  128. final val TRAITkw: SymbolTable.TermName

    Definition Classes
    Keywords
  129. final val TRUEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  130. final val TRYkw: SymbolTable.TermName

    Definition Classes
    Keywords
  131. final val TYPEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  132. final val Throwable: NameType

  133. final val Tree: NameType

  134. final val Type: NameType

  135. final val TypeTag: NameType

    Definition Classes
    CommonNames
  136. final val TypeTree: NameType

  137. final val USCOREkw: SymbolTable.TermName

    Definition Classes
    Keywords
  138. final val Unit: NameType

    Definition Classes
    CommonNames
  139. final val VALkw: SymbolTable.TermName

    Definition Classes
    Keywords
  140. final val VARkw: SymbolTable.TermName

    Definition Classes
    Keywords
  141. final val VIEWBOUNDkw: SymbolTable.TermName

    Definition Classes
    Keywords
  142. final val WHILEkw: SymbolTable.TermName

    Definition Classes
    Keywords
  143. final val WILDCARD: NameType

    Definition Classes
    CommonNamesNamesBase
  144. final val WILDCARD_STAR: NameType

    Definition Classes
    TypeNamesTypeNamesBase
  145. final val WITHkw: SymbolTable.TermName

    Definition Classes
    Keywords
  146. final val YIELDkw: SymbolTable.TermName

    Definition Classes
    Keywords
  147. 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.

  148. final val bridgeAnnot: NameType

  149. 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

  150. implicit def createNameType(name: String): SymbolTable.TypeName

    Attributes
    protected
    Definition Classes
    TypeNamesCommonNames
  151. def dropSingletonName(name: SymbolTable.Name): SymbolTable.TypeName

  152. def ensuring(cond: (SymbolTable.TypeNames) ⇒ Boolean, msg: ⇒ Any): SymbolTable.TypeNames

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

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

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

    Implicit information
    This member is added by an implicit conversion from SymbolTable.TypeNames to Ensuring[SymbolTable.TypeNames] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  156. 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
  157. 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
  158. 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

  159. def flattenedName(segments: SymbolTable.Name*): NameType

    Definition Classes
    CommonNames
  160. 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 SymbolTable.TypeNames to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  161. 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

  162. 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
  163. def implClassName(name: SymbolTable.Name): SymbolTable.TypeName

  164. def interfaceName(implname: SymbolTable.Name): SymbolTable.TypeName

  165. 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
  166. final val javaKeywords: SymbolTable.JavaKeywords

    Definition Classes
    Keywords
  167. final val keywords: Set[SymbolTable.TermName]

    Definition Classes
    Keywords
  168. 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
  169. 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

  170. 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

  171. def singletonName(name: SymbolTable.Name): SymbolTable.TypeName

  172. final val staticAnnot: NameType

  173. val stringToTermName: Null

    Attributes
    protected
    Definition Classes
    CommonNames
  174. val stringToTypeName: Null

    Attributes
    protected
    Definition Classes
    CommonNames
  175. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  176. 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
  177. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  180. def [B](y: B): (SymbolTable.TypeNames, B)

    Implicit information
    This member is added by an implicit conversion from SymbolTable.TypeNames to ArrowAssoc[SymbolTable.TypeNames] 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 SymbolTable.TypeNames 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:
    (typeNames: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from SymbolTable.TypeNames 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:
    (typeNames: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: SymbolTable.TypeNames

    Implicit information
    This member is added by an implicit conversion from SymbolTable.TypeNames to ArrowAssoc[SymbolTable.TypeNames] 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:
    (typeNames: ArrowAssoc[SymbolTable.TypeNames]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: SymbolTable.TypeNames

    Implicit information
    This member is added by an implicit conversion from SymbolTable.TypeNames to Ensuring[SymbolTable.TypeNames] 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:
    (typeNames: Ensuring[SymbolTable.TypeNames]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from SymbolTable.TypeNamesApi

Inherited from SymbolTable.TypeNamesBase

Inherited from SymbolTable.Keywords

Inherited from SymbolTable.CommonNames

Inherited from SymbolTable.NamesApi

Inherited from SymbolTable.NamesBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from SymbolTable.TypeNames to StringAdd

Inherited by implicit conversion any2stringfmt from SymbolTable.TypeNames to StringFormat

Inherited by implicit conversion any2ArrowAssoc from SymbolTable.TypeNames to ArrowAssoc[SymbolTable.TypeNames]

Inherited by implicit conversion any2Ensuring from SymbolTable.TypeNames to Ensuring[SymbolTable.TypeNames]

No Group