The type of core type AnyRef
.
The type of core type Any
.
The type of core type AnyVal
.
The type of primitive type Boolean
.
A dummy class symbol that is used to indicate by-name parameters.
scala> class C { def m(x: => Int) = ??? } defined class C scala> import scala.reflect.runtime.universe._ import scala.reflect.runtime.universe._ scala> val m = typeOf[C].member(TermName("m")).asMethod m: reflect.runtime.universe.MethodSymbol = method m scala> m.paramLists(0)(0).info res1: reflect.runtime.universe.Type = => scala.Int scala> showRaw(m.paramLists(0)(0).info) res2: String = TypeRef( ThisType(scala), scala.<byname>, // <-- ByNameParamClass List(TypeRef(ThisType(scala), scala.Int, List())))
The type of primitive type Byte
.
The type of primitive type Char
.
The type of primitive type Double
.
The type of primitive type Float
.
Function-like object that maps arity to symbols for classes scala.FunctionX
.
Function0
1st element is Function1
...22nd element is Function22
23nd element is NoSymbol
... The type of primitive type Int
.
A dummy class symbol that is used to indicate repeated parameters compiled by the Java compiler.
class C { public void m(Object... x) {} }
scala> import scala.reflect.runtime.universe._ import scala.reflect.runtime.universe._ scala> val m = typeOf[C].member(TermName("m")).asMethod m: reflect.runtime.universe.MethodSymbol = method m scala> m.paramLists(0)(0).info res1: reflect.runtime.universe.Type = <repeated...>[Object] scala> showRaw(m.paramLists(0)(0).info) res2: String = TypeRef( ThisType(scala), scala.<repeated...>, // <-- JavaRepeatedParamClass List(TypeRef(ThisType(java.lang), Object, List())))
The type of primitive type Long
.
The type of core type Nothing
.
The type of core type Null
.
The type of core type Object
.
Function-like object that maps arity to symbols for classes scala.ProductX
.
Unit
1st element is Product1
...22nd element is Product22
23nd element is NoSymbol
... A dummy class symbol that is used to indicate repeated parameters compiled by the Scala compiler.
scala> class C { def m(x: Int*) = ??? } defined class C scala> import scala.reflect.runtime.universe._ import scala.reflect.runtime.universe._ scala> val m = typeOf[C].member(TermName("m")).asMethod m: reflect.runtime.universe.MethodSymbol = method m scala> m.paramLists(0)(0).info res1: reflect.runtime.universe.Type = scala.Int* scala> showRaw(m.paramLists(0)(0).info) res2: String = TypeRef( ThisType(scala), scala.<repeated>, // <-- RepeatedParamClass List(TypeRef(ThisType(scala), scala.Int, List())))
Contains Scala numeric value classes:
Contains Scala primitive value classes:
The type of primitive type Short
.
Function-like object that maps arity to symbols for classes scala.TupleX
.
NoSymbol
1st element is Tuple1
...22nd element is Tuple22
23nd element is NoSymbol
... The type of primitive type Unit
.
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/api/StandardDefinitions$DefinitionsApi.html
Defines standard symbols (and types via its base trait).