summaryrefslogblamecommitdiff
path: root/src/library/scala/reflect/package.scala
blob: 49374a552cdad2a2ee0a8aa11039258761f42d51 (plain) (tree)
1
2
3
4
5
6

             
                                               
 
                                               
 













                                                                         
 
                                                



                                                            

                                                                   
 


                                                                
 
package scala

package object reflect extends reflect_compat {

  lazy val basis: base.Universe = new base.Base

  @deprecated("Use `@scala.beans.BeanDescription` instead", "2.10.0")
  type BeanDescription = scala.beans.BeanDescription
  @deprecated("Use `@scala.beans.BeanDisplayName` instead", "2.10.0")
  type BeanDisplayName = scala.beans.BeanDisplayName
  @deprecated("Use `@scala.beans.BeanInfo` instead", "2.10.0")
  type BeanInfo = scala.beans.BeanInfo
  @deprecated("Use `@scala.beans.BeanInfoSkip` instead", "2.10.0")
  type BeanInfoSkip = scala.beans.BeanInfoSkip
  @deprecated("Use `@scala.beans.BeanProperty` instead", "2.10.0")
  type BeanProperty = scala.beans.BeanProperty
  @deprecated("Use `@scala.beans.BooleanBeanProperty` instead", "2.10.0")
  type BooleanBeanProperty = scala.beans.BooleanBeanProperty
  @deprecated("Use `@scala.beans.ScalaBeanInfo` instead", "2.10.0")
  type ScalaBeanInfo = scala.beans.ScalaBeanInfo

  // ClassTag class is defined outside the basis
  def classTag[T](implicit ctag: ClassTag[T]) = ctag
  // typeTag incantation is defined inside the basis
  // concreteTypeTag incantation is defined inside the basis

  type TypeTag[T]          = scala.reflect.basis.TypeTag[T]
  type ConcreteTypeTag[T]  = scala.reflect.basis.ConcreteTypeTag[T]

  // ClassTag object is defined outside the basis
  lazy val TypeTag         = scala.reflect.basis.TypeTag
  lazy val ConcreteTypeTag = scala.reflect.basis.ConcreteTypeTag
}