scala.tools

reflect

package reflect

Visibility
  1. Public
  2. All

Type Members

  1. class Invoked extends AnyRef

    A class representing a single method call.

  2. trait Mock extends (Invoked) ⇒ AnyRef

    A wrapper around java dynamic proxies to make it easy to pose as an interface.

  3. trait Shield extends AnyRef

    A support class for simplifying the otherwise disbelief-inspiring process of working with classes completely reflectively.

  4. class SigParser extends AnyRef

    The usual reflection song and dance to avoid referencing any sun.

  5. class UniversalFn extends (Seq[AnyRef]) ⇒ AnyRef

    For certain reflection tasks it is convenient to treat all methods as having the same signature: (Seq[AnyRef]) => AnyRef

  6. trait WrappedProperties extends PropertiesTrait

    For placing a wrapper function around property functions.

Value Members

  1. object Invoked extends AnyRef

  2. object Mock extends AnyRef

    The methods in Mock create the actual proxy instance which can be used in place of the associated interface(s).

  3. object SigParser extends SigParser

  4. object UniversalFn extends AnyRef

  5. object WrappedProperties extends AnyRef

  6. def allInterfaces(cl: Class[_]): List[Class[_]]

    Definition Classes
    package
  7. def methodsNamed(target: AnyRef, name: String): List[Method]

    Definition Classes
    package
  8. def nameAndArity(m: Method): (String, Int)

    Definition Classes
    package
  9. def uniqueApply(target: AnyRef): Option[Method]

    If there is a single non-bridge apply method in the given instance, return it: otherwise None.

    If there is a single non-bridge apply method in the given instance, return it: otherwise None.

    Definition Classes
    package
  10. def zeroOf[T](implicit m: Manifest[T]): AnyRef

    Definition Classes
    package
  11. def zeroOfClass(clazz: Class[_]): AnyRef

    Definition Classes
    package