scala.reflect

class RichClass

[source: scala/reflect/RichClass.scala]

@experimental

final class RichClass[T](val self : java.lang.Class[T])
extends Proxy
Method Summary
def getConstructorsTyped : Array[java.lang.reflect.Constructor[T]]
def getDeclaredConstructorsTyped : Array[java.lang.reflect.Constructor[T]]
def reflectiveCall [U](obj : T, method : java.lang.String) : ReflectiveCall[U]
Methods inherited from Proxy
hashCode, equals, toString
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
class FailedReflectiveCall [+U](ex : java.lang.Throwable) extends ReflectiveCall[U]
class ReflectiveCall [+U](obj : T, name : java.lang.String) extends AnyRef
A class representing a reflective method call. It is a function object and will make the call with whatever args are given via apply, or it will throw an exception at that point if there was an error in creation.
Method Details
def getConstructorsTyped : Array[java.lang.reflect.Constructor[T]]

def getDeclaredConstructorsTyped : Array[java.lang.reflect.Constructor[T]]

def reflectiveCall[U](obj : T, method : java.lang.String) : ReflectiveCall[U]