Object

org.portablescala.reflect

Reflect

Related Doc: package reflect

Permalink

object Reflect

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Reflect
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. def lookupInstantiatableClass(fqcn: String, loader: ClassLoader): Option[InstantiatableClass]

    Permalink

    Reflectively looks up an instantiatable class.

    Reflectively looks up an instantiatable class.

    The class or one of its super types (classes or traits) must be annotated with @EnableReflectiveInstantiation. Moreover, the class must not be abstract, nor be a local class (i.e., a class defined inside a def or inside an anonymous function). Inner classes (defined inside another class) are supported.

    If the class cannot be found, either because it does not exist, was not @EnableReflectiveInstantiation or was abstract or local, this method returns None.

    fqcn

    Fully-qualified name of the class

    loader

    Class loader to use to load the class

  13. macro def lookupInstantiatableClass(fqcn: String): Option[InstantiatableClass]

    Permalink

    Reflectively looks up an instantiatable class using the current class loader.

    Reflectively looks up an instantiatable class using the current class loader.

    The class or one of its super types (classes or traits) must be annotated with @EnableReflectiveInstantiation. Moreover, the class must not be abstract, nor be a local class (i.e., a class defined inside a def or inside an anonymous function). Inner classes (defined inside another class) are supported.

    If the class cannot be found, either because it does not exist, was not @EnableReflectiveInstantiation or was abstract or local, this method returns None.

    This method is equivalent to calling

    Reflect.lookupInstantiatableClass(fqcn, this.getClass.getClassLoader)
    fqcn

    Fully-qualified name of the class

  14. def lookupInstantiatableClass_impl(c: BlackboxContext { type PrefixType = org.portablescala.reflect.Reflect.type })(fqcn: (c)#Expr[String]): (c)#Expr[Option[InstantiatableClass]]

    Permalink
  15. def lookupLoadableModuleClass(fqcn: String, loader: ClassLoader): Option[LoadableModuleClass]

    Permalink

    Reflectively looks up a loadable module class.

    Reflectively looks up a loadable module class.

    A module class is the technical term referring to the class of a Scala object. The object or one of its super types (classes or traits) must be annotated with @EnableReflectiveInstantiation. Moreover, the object must be "static", i.e., declared at the top-level of a package or inside a static object.

    If the module class cannot be found, either because it does not exist, was not @EnableReflectiveInstantiation or was not static, this method returns None.

    fqcn

    Fully-qualified name of the module class, including its trailing $

    loader

    Class loader to use to load the module class

  16. macro def lookupLoadableModuleClass(fqcn: String): Option[LoadableModuleClass]

    Permalink

    Reflectively looks up a loadable module class using the current class loader.

    Reflectively looks up a loadable module class using the current class loader.

    A module class is the technical term referring to the class of a Scala object. The object or one of its super types (classes or traits) must be annotated with @EnableReflectiveInstantiation. Moreover, the object must be "static", i.e., declared at the top-level of a package or inside a static object.

    If the module class cannot be found, either because it does not exist, was not @EnableReflectiveInstantiation or was not static, this method returns None.

    This method is equivalent to calling

    Reflect.lookupLoadableModuleClass(fqcn, this.getClass.getClassLoader)
    fqcn

    Fully-qualified name of the module class, including its trailing $

  17. def lookupLoadableModuleClass_impl(c: BlackboxContext { type PrefixType = org.portablescala.reflect.Reflect.type })(fqcn: (c)#Expr[String]): (c)#Expr[Option[LoadableModuleClass]]

    Permalink
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped