summaryrefslogtreecommitdiff
path: root/src/library/scala/reflect/base/MirrorOf.scala
blob: 03e035cd81e51912264364d82f16cce3c9829f3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package scala.reflect
package base

// [Eugene++ to Martin] why was this a member of `scala.reflect`, but not `scala.reflect.base`?

abstract class MirrorOf[U <: base.Universe with Singleton] {
  /** .. */
  val universe: U

  /** .. */
  def RootClass: U#ClassSymbol
  def RootPackage: U#ModuleSymbol
  def EmptyPackageClass: U#ClassSymbol
  def EmptyPackage: U#ModuleSymbol

  /** The symbol corresponding to the globally accessible class with the
   *  given fully qualified name `fullName`.
   */
  def staticClass(fullName: String): U#ClassSymbol

  /** The symbol corresponding to the globally accessible object with the
   *  given fully qualified name `fullName`.
   */
  def staticModule(fullName: String): U#ModuleSymbol
}