scala.reflect.internal.StdNames

TypeNames

abstract class TypeNames extends Keywords with TypeNamesApi

Source
StdNames.scala
Linear Supertypes
Known Subclasses
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 = 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 TypeNames to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (TypeNames, B)

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

    Definition Classes
    Keywords
  9. val ANON_CLASS_NAME: NameType

    Definition Classes
    CommonNamesNamesApi
  10. val ANON_FUN_NAME: NameType

    Definition Classes
    CommonNamesNamesApi
  11. final val ARROWkw: TermName

    Definition Classes
    Keywords
  12. final val ATkw: 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

    Definition Classes
    TypeNamesTypeNamesApi
  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: TermName

    Definition Classes
    Keywords
  27. final val CATCHkw: TermName

    Definition Classes
    Keywords
  28. final val CLASSkw: TermName

    Definition Classes
    Keywords
  29. final val COLONkw: TermName

    Definition Classes
    Keywords
  30. final val Char: NameType

    Definition Classes
    CommonNames
  31. final val ClassTag: NameType

    Definition Classes
    CommonNames
  32. final val ClassfileAnnotation: NameType

  33. final val ClassfileAnnotationATTR: NameType

  34. final val CodeATTR: NameType

  35. final val ConstantValueATTR: NameType

  36. final val DEFkw: TermName

    Definition Classes
    Keywords
  37. final val DOTkw: TermName

    Definition Classes
    Keywords
  38. final val DOkw: TermName

    Definition Classes
    Keywords
  39. final val DeprecatedATTR: NameType

  40. final val Double: NameType

    Definition Classes
    CommonNames
  41. final val ELSEkw: TermName

    Definition Classes
    Keywords
  42. val EMPTY: NameType

    Definition Classes
    CommonNamesNamesApiNamesBase
  43. val EMPTY_PACKAGE_NAME: NameType

    Definition Classes
    CommonNamesNamesBase
  44. final val EQUALS_PATTERN_NAME: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  45. final val EQUALSkw: TermName

    Definition Classes
    Keywords
  46. final val ERROR: NameType

    Definition Classes
    CommonNamesNamesApi
  47. final val EXTENDSkw: TermName

    Definition Classes
    Keywords
  48. final val Enum: NameType

  49. final val ExceptionsATTR: NameType

  50. final val Expr: NameType

    Definition Classes
    CommonNames
  51. final val ExprApi: NameType

  52. final val FALSEkw: TermName

    Definition Classes
    Keywords
  53. final val FINALLYkw: TermName

    Definition Classes
    Keywords
  54. final val FINALkw: TermName

    Definition Classes
    Keywords
  55. final val FORSOMEkw: TermName

    Definition Classes
    Keywords
  56. final val FORkw: TermName

    Definition Classes
    Keywords
  57. final val Float: NameType

    Definition Classes
    CommonNames
  58. final val Group: NameType

  59. final val HASHkw: TermName

    Definition Classes
    Keywords
  60. final val IFkw: TermName

    Definition Classes
    Keywords
  61. final val IMPLICITkw: TermName

    Definition Classes
    Keywords
  62. val IMPL_CLASS_SUFFIX: String

    Definition Classes
    CommonNames
  63. val IMPORT: NameType

    Definition Classes
    CommonNamesNamesApi
  64. final val IMPORTkw: TermName

    Definition Classes
    Keywords
  65. final val InnerClassesATTR: NameType

  66. final val Int: NameType

    Definition Classes
    CommonNames
  67. final val JAVA_REPEATED_PARAM_CLASS_NAME: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  68. final val LARROWkw: TermName

    Definition Classes
    Keywords
  69. final val LAZYkw: TermName

    Definition Classes
    Keywords
  70. final val LOCAL_CHILD: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  71. final val LineNumberTableATTR: NameType

  72. final val List: NameType

    Definition Classes
    CommonNames
  73. final val LocalVariableTableATTR: NameType

  74. final val Long: NameType

    Definition Classes
    CommonNames
  75. final val MACROkw: TermName

    Definition Classes
    Keywords
  76. final val MATCHkw: TermName

    Definition Classes
    Keywords
  77. val MODULE_SUFFIX_NAME: NameType

    Definition Classes
    CommonNames
  78. val MODULE_SUFFIX_STRING: String

    Definition Classes
    CommonNames
  79. val MODULE_VAR_SUFFIX: NameType

    Definition Classes
    CommonNamesNamesApi
  80. final val Mirror: NameType

  81. val NAME_JOIN_NAME: NameType

    Definition Classes
    CommonNames
  82. val NAME_JOIN_STRING: String

    Definition Classes
    CommonNames
  83. final val NEWkw: TermName

    Definition Classes
    Keywords
  84. final val NO_NAME: NameType

    Definition Classes
    CommonNames
  85. final val NULLkw: TermName

    Definition Classes
    Keywords
  86. final val Nothing: NameType

  87. final val Null: NameType

  88. final val OBJECTkw: TermName

    Definition Classes
    Keywords
  89. final val OVERRIDEkw: TermName

    Definition Classes
    Keywords
  90. final val Object: NameType

  91. val PACKAGE: NameType

    Definition Classes
    CommonNamesNamesApi
  92. final val PACKAGEkw: TermName

    Definition Classes
    Keywords
  93. final val PRIVATEkw: TermName

    Definition Classes
    Keywords
  94. final val PROTECTEDkw: TermName

    Definition Classes
    Keywords
  95. final val PartialFunction: NameType

  96. final val PrefixType: NameType

  97. final val Product: NameType

  98. final val REFINE_CLASS_NAME: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  99. final val REIFY_TREECREATOR_PREFIX: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  100. final val REIFY_TYPECREATOR_PREFIX: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  101. final val REPEATED_PARAM_CLASS_NAME: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  102. final val RETURNkw: TermName

    Definition Classes
    Keywords
  103. val ROOT: NameType

    Definition Classes
    CommonNamesNamesApiNamesBase
  104. final val RuntimeAnnotationATTR: NameType

  105. final val RuntimeParamAnnotationATTR: NameType

  106. final val SEALEDkw: TermName

    Definition Classes
    Keywords
  107. val SINGLETON_SUFFIX: String

    Definition Classes
    CommonNames
  108. val SPECIALIZED_SUFFIX: NameType

    Definition Classes
    CommonNamesNamesApi
  109. final val SUBTYPEkw: TermName

    Definition Classes
    Keywords
  110. final val SUPERTYPEkw: TermName

    Definition Classes
    Keywords
  111. final val SUPERkw: TermName

    Definition Classes
    Keywords
  112. final val ScalaATTR: NameType

  113. final val ScalaSignatureATTR: NameType

  114. final val ScalaValueNames: List[NameType]

    Definition Classes
    CommonNames
  115. final val Seq: NameType

    Definition Classes
    CommonNames
  116. final val Serializable: NameType

  117. final val Short: NameType

    Definition Classes
    CommonNames
  118. final val SignatureATTR: NameType

  119. final val Singleton: NameType

  120. final val SourceFileATTR: NameType

  121. final val String: NameType

    Definition Classes
    CommonNames
  122. final val Symbol: NameType

    Definition Classes
    CommonNames
  123. final val SyntheticATTR: NameType

  124. final val THENkw: TermName

    Definition Classes
    Keywords
  125. final val THISkw: TermName

    Definition Classes
    Keywords
  126. final val THROWkw: TermName

    Definition Classes
    Keywords
  127. final val TRAITkw: TermName

    Definition Classes
    Keywords
  128. final val TRUEkw: TermName

    Definition Classes
    Keywords
  129. final val TRYkw: TermName

    Definition Classes
    Keywords
  130. final val TYPEkw: TermName

    Definition Classes
    Keywords
  131. final val Throwable: NameType

  132. final val Tree: NameType

  133. final val Type: NameType

  134. final val TypeTag: NameType

    Definition Classes
    CommonNames
  135. final val TypeTree: NameType

  136. final val USCOREkw: TermName

    Definition Classes
    Keywords
  137. final val Unit: NameType

    Definition Classes
    CommonNames
  138. final val VALkw: TermName

    Definition Classes
    Keywords
  139. final val VARkw: TermName

    Definition Classes
    Keywords
  140. final val VIEWBOUNDkw: TermName

    Definition Classes
    Keywords
  141. final val WHILEkw: TermName

    Definition Classes
    Keywords
  142. final val WILDCARD: NameType

    Definition Classes
    CommonNamesNamesBase
  143. final val WILDCARD_STAR: NameType

    Definition Classes
    TypeNamesTypeNamesApi
  144. final val WITHkw: TermName

    Definition Classes
    Keywords
  145. final val YIELDkw: TermName

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

  147. final val bridgeAnnot: NameType

  148. 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  149. implicit def createNameType(name: String): TypeName

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

    Definition Classes
    TypeNamesTypeNamesApi
  151. def ensuring(cond: (TypeNames) ⇒ Boolean, msg: ⇒ Any): TypeNames

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

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

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

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

    returns

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

    Definition Classes
    AnyRef → Any
  157. 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
    Note

    not specified by SLS as a member of AnyRef

  158. def flattenedName(segments: Name*): NameType

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

  161. def hashCode(): Int

    The hashCode method for reference types.

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

    returns

    the hash code value for this object.

    Definition Classes
    AnyRef → Any
  162. def implClassName(name: Name): TypeName

    Definition Classes
    TypeNamesTypeNamesApi
  163. def interfaceName(implname: Name): TypeName

    Definition Classes
    TypeNamesTypeNamesApi
  164. 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
  165. final val javaKeywords: JavaKeywords

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

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

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

  170. val self: Any

    Implicit information
    This member is added by an implicit conversion from TypeNames to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  171. val self: Any

    Implicit information
    This member is added by an implicit conversion from TypeNames to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  172. def singletonName(name: Name): TypeName

    Definition Classes
    TypeNamesTypeNamesApi
  173. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def x: TypeNames

    Implicit information
    This member is added by an implicit conversion from TypeNames to ArrowAssoc[TypeNames] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: TypeNames

    Implicit information
    This member is added by an implicit conversion from TypeNames to Ensuring[TypeNames] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from TypeNamesApi

Inherited from TypeNamesBase

Inherited from Keywords

Inherited from CommonNames

Inherited from NamesApi

Inherited from NamesBase

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from TypeNames to StringAdd

Inherited by implicit conversion any2stringfmt from TypeNames to StringFormat

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

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