scala.reflect

api

package api

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

Linear Supertypes
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Grouped
  2. Alphabetic
  3. By inheritance
Inherited
  1. api
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Annotations extends AnyRef

    This trait provides annotation support for the reflection API.

  2. trait Constants extends AnyRef

    According to the section 6.

  3. trait Exprs extends AnyRef

    A trait that defines strongly-typed tree wrappers and operations on them for use in Scala Reflection.

  4. trait FlagSets extends AnyRef

    The trait that defines flag sets and operations on them.

  5. trait Importers extends AnyRef

    This trait provides support for importers, a facility to migrate reflection artifacts between universes.

  6. trait JavaMirrors extends AnyRef

    A refinement of scala.reflect.api.Mirror for runtime reflection using JVM classloaders.

  7. trait JavaUniverse extends Universe with JavaMirrors

    A refinement of scala.reflect.api.Universe for runtime reflection using JVM classloaders.

  8. abstract class Mirror[U <: Universe with Singleton] extends AnyRef

    The base class for all mirrors.

  9. trait Mirrors extends AnyRef

    This trait provides support for Mirrors in the Scala Reflection API.

  10. trait Names extends AnyRef

    This trait defines Names (a Scala reflection concept) and operations on them.

  11. trait Position extends Attachments

    Position tracks the origin of symbols and tree nodes.

  12. trait Positions extends AnyRef

    This trait defines the concept of positions and operations on them.

  13. trait Printers extends AnyRef

    Utilities for nicely printing scala.reflect.api.Trees and scala.reflect.api.Types.

  14. trait Scopes extends AnyRef

    This trait provides support for scopes in the reflection API.

  15. trait StandardDefinitions extends AnyRef

    All Scala standard symbols and types.

  16. trait StandardNames extends AnyRef

    Standard names are names that are essential to creating trees or to reflecting Scala artifacts.

  17. trait Symbols extends AnyRef

    This trait defines symbols and operations on them.

  18. trait TagInterop extends AnyRef

    This trait provides type tag <-> manifest interoperability.

  19. abstract class TreeCreator extends AnyRef

    This is an internal implementation class.

  20. trait Trees extends AnyRef

    This trait defines the node types used in Scala abstract syntax trees (AST) and operations on them.

  21. abstract class TypeCreator extends AnyRef

    A mirror-aware factory for types.

  22. trait TypeTags extends AnyRef

    A TypeTag[T] encapsulates the runtime type representation of some type T.

  23. trait Types extends AnyRef

    A trait that defines types and operations on them.

  24. abstract class Universe extends Symbols with Types with FlagSets with Scopes with Names with Trees with Constants with Annotations with Positions with Exprs with TypeTags with TagInterop with StandardDefinitions with StandardNames with BuildUtils with Mirrors with Printers with Importers

    Universe provides a complete set of reflection operations which make it possible for one to reflectively inspect Scala type relations, such as membership or subtyping.

Inherited from AnyRef

Inherited from Any

TypeTags Type Tags

Ungrouped