Package

scala.reflect

runtime

Permalink

package runtime

Entry points into runtime reflection. See the overview page for details on how to use them.

Source
package.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. runtime
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class JavaUniverse extends internal.SymbolTable with JavaUniverseForce with ReflectSetup with SymbolTable

    Permalink

    An implementation of scala.reflect.api.Universe for runtime reflection using JVM classloaders.

    An implementation of scala.reflect.api.Universe for runtime reflection using JVM classloaders.

    Should not be instantiated directly, use scala.reflect.runtime.universe instead.

  2. trait JavaUniverseForce extends AnyRef

    Permalink

Value Members

  1. object ReflectionUtils

    Permalink

    A few java-reflection oriented utility functions useful during reflection bootstrapping.

  2. macro def currentMirror: Mirror

    Permalink

    The runtime reflection mirror that corresponds to the current lexical context.

    The runtime reflection mirror that corresponds to the current lexical context. It's typically equivalent to universe.runtimeMirror(getClass.getClassLoader) invoked at the call site.

  3. lazy val universe: api.JavaUniverse

    Permalink

    The entry point into Scala runtime reflection.

    The entry point into Scala runtime reflection.

    To use Scala runtime reflection, simply use or import scala.reflect.runtime.universe._

    See scala.reflect.api.Universe or the Reflection Guide: Universes for more details.