com.eharmony.aloha

reflect

package reflect

A facade layer on top of the scala reflection APIs to avoid bugs currently in the TypeTag implementation.

Because of SI-7555, we want to insulate ourselves from reflection bugs. We do want to make the switch painless when we finally go from scala.reflect.Manifest to scala.reflect.runtime.universe.TypeTag based reflection. To accomplish this, we add a layer of indirection and later, we'll only have to modify the facade assuming that all of the code using reflection refers to the facade. Once everything has settled down on the scala reflection landscape, we'll refer directly to the reflection APIs.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. reflect
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type RefInfo[A] = Manifest[A]

    Type alias for Reflection meta-information type.

    Type alias for Reflection meta-information type. Manifest, TypeTag, etc. Currently, this is Manifest. Once [https://issues.scala-lang.org/browse/SI-7555 SI-7555] is addressed, we can move over to a scala.reflect.runtime.universe.TypeTag based implementation.

    NOTE: If all goes well, we should be able to just swap this one type definition and everything will still work (once scala 2.10-based reflection is fixed). If this isn't the case, we need to add and reference additional functionality in the facade layer.

  2. sealed trait RefInfoOps[RefInfoType[_]] extends AnyRef

    A facade layer on top of the scala reflection APIs to avoid bugs currently in the reflection implementation.

  3. trait ReflectionConversions extends AnyRef

  4. trait RuntimeClasspathScanning extends AnyRef

    Created by ryan.

Value Members

  1. object RefInfo

  2. object RefInfoOps extends RefInfoOps[RefInfo] with EitherHelpers

    Concrete implementations for retrieving and manipulating reflection meta information.

  3. object ReflectionConversions extends ReflectionConversions

Inherited from AnyRef

Inherited from Any

Ungrouped