Packages

  • package root
    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package reflect
    Definition Classes
    scala
  • package api

    EXPERIMENTAL

    EXPERIMENTAL

    The Scala Reflection API (located in scala-reflect.jar).

    In Scala 2.10.0, the Scala Reflection API and its implementation have an "experimental" status. This means that the API and the docs are not complete and can be changed in binary- and source-incompatible manner in 2.10.1. This also means that the implementation has some known issues.

    The following types are the backbone of the Scala Reflection API, and serve as a good starting point for information about Scala Reflection:

    For more information about Scala Reflection, see the Reflection Guide

    Definition Classes
    reflect
  • package macros

    EXPERIMENTAL

    EXPERIMENTAL

    The base package for Scala macros.

    Macros are functions that are called by the compiler during compilation. Within these functions the programmer has access to compiler APIs. For example, it is possible to generate, analyze and typecheck code.

    See the Macros Guide on how to get started with Scala macros.

    Definition Classes
    reflect
  • package runtime

    Entry points into runtime reflection.

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

    Definition Classes
    reflect
  • JavaUniverse
  • JavaUniverseForce
  • ReflectionUtils

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

Type Members

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

    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
    Annotations
    @nowarn() @nowarn()

Value Members

  1. macro def currentMirror: Mirror

    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.

  2. lazy val universe: api.JavaUniverse

    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.

  3. object ReflectionUtils

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

Inherited from AnyRef

Inherited from Any

Ungrouped