object ReflectUtils
- Alphabetic
- By Inheritance
- ReflectUtils
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField[T](target: AnyRef, fieldName: String): T
get the field value of the given object
get the field value of the given object
- T
the expected return class type
- target
the target object
- fieldName
the field name from declared field names
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def invokeAs[T](target: AnyRef, methodName: String, args: (Class[_], AnyRef)*): T
Invoke a method with the given name and arguments on the given target object.
Invoke a method with the given name and arguments on the given target object.
- T
the expected return class type, returning type Nothing if it's not provided or inferable
- target
the target object
- methodName
the method name from declared field names
- args
pairs of class and values for the arguments
- def isClassLoadable(className: String, cl: ClassLoader = Thread.currentThread().getContextClassLoader): Boolean
Determines whether the provided class is loadable
Determines whether the provided class is loadable
- className
the class name
- cl
the class loader
- returns
is the class name loadable with the class loader
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadFromServiceLoader[T](cl: ClassLoader = Thread.currentThread().getContextClassLoader)(implicit ct: ClassTag[T]): Iterator[T]
Creates a iterator for with a new service loader for the given service type and class loader.
Creates a iterator for with a new service loader for the given service type and class loader.
- T
the class of the service type
- cl
The class loader to be used to load provider-configuration files and provider classes
- ct
class tag of the generics class type
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()