object Reflect
- Alphabetic
- By Inheritance
- Reflect
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lookupInstantiatableClass(fqcn: String, loader: ClassLoader): Option[InstantiatableClass]
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 returnsNone
.- fqcn
Fully-qualified name of the class
- loader
Class loader to use to load the class
-
macro
def
lookupInstantiatableClass(fqcn: String): Option[InstantiatableClass]
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 returnsNone
.This method is equivalent to calling
Reflect.lookupInstantiatableClass(fqcn, this.getClass.getClassLoader)
- fqcn
Fully-qualified name of the class
- def lookupInstantiatableClass_impl(c: BlackboxContext { type PrefixType = org.portablescala.reflect.Reflect.type })(fqcn: (c)#Expr[String]): (c)#Expr[Option[InstantiatableClass]]
-
def
lookupLoadableModuleClass(fqcn: String, loader: ClassLoader): Option[LoadableModuleClass]
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 returnsNone
.- fqcn
Fully-qualified name of the module class, including its trailing
$
- loader
Class loader to use to load the module class
-
macro
def
lookupLoadableModuleClass(fqcn: String): Option[LoadableModuleClass]
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 returnsNone
.This method is equivalent to calling
Reflect.lookupLoadableModuleClass(fqcn, this.getClass.getClassLoader)
- fqcn
Fully-qualified name of the module class, including its trailing
$
- def lookupLoadableModuleClass_impl(c: BlackboxContext { type PrefixType = org.portablescala.reflect.Reflect.type })(fqcn: (c)#Expr[String]): (c)#Expr[Option[LoadableModuleClass]]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()