Packages

object ReflectionUtil

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def classTag[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): ClassTag[T]

    Creates a corresponding ClassTag for the given TypeTag

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def constructorParams[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[(String, scala.reflect.api.JavaUniverse.Type)]
  8. def constructorParams(tpe: scala.reflect.api.JavaUniverse.Type): Seq[(String, scala.reflect.api.JavaUniverse.Type)]

    Returns a list of parameter names and types of the main constructor.

    Returns a list of parameter names and types of the main constructor. The main constructor is assumed to be the one that has the highest number of parameters. In case on ambiguity, this method throws IllegalArgumentException.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def findGlobalObject[T](objectName: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T

    Returns either a global Scala object by its fully qualified name or a singleton instance of a Java class identified by its fully qualified class name.

    Returns either a global Scala object by its fully qualified name or a singleton instance of a Java class identified by its fully qualified class name. Java class instances are cached. The Java class must provide a default constructor.

  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def getters[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[(String, scala.reflect.api.JavaUniverse.Type)]
  14. def getters(tpe: scala.reflect.api.JavaUniverse.Type): Seq[(String, scala.reflect.api.JavaUniverse.Type)]

    Returns a list of names and return types of 0-argument public methods of a Scala type

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isScalaTuple(tpe: scala.reflect.api.JavaUniverse.Type): Boolean

    Returns true if the type is scala tuple of any arity

  18. def isScalaTuple(symbol: scala.reflect.api.JavaUniverse.Symbol): Boolean

    Returns true if the type is scala tuple of any arity

  19. def method(tpe: scala.reflect.api.JavaUniverse.Type, methodName: String): scala.reflect.api.JavaUniverse.Type

    Looks up a method by name in a type.

    Looks up a method by name in a type. The method must exist, otherwise IllegalArgumentException is thrown.

  20. def methodParamTypes(tpe: scala.reflect.api.JavaUniverse.Type, methodName: String): Seq[scala.reflect.api.JavaUniverse.Type]

    Returns the type of the parameters of the given method.

    Returns the type of the parameters of the given method. The method must exist, otherwise IllegalArgumentException is thrown.

  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def returnType(tpe: scala.reflect.api.JavaUniverse.Type, methodName: String): scala.reflect.api.JavaUniverse.Type

    Returns the return type of the method.

    Returns the return type of the method. The method must exist, otherwise IllegalArgumentException is thrown.

  25. def setters[T](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Seq[(String, scala.reflect.api.JavaUniverse.Type)]
  26. def setters(tpe: scala.reflect.api.JavaUniverse.Type): Seq[(String, scala.reflect.api.JavaUniverse.Type)]

    Returns a list of names and parameter types of 1-argument public methods of a Scala type, returning no result (Unit)

  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def typeToTypeTag[T](tpe: scala.reflect.api.JavaUniverse.Type): scala.reflect.api.JavaUniverse.TypeTag[T]

    Creates a corresponding TypeTag for the given Type.

    Creates a corresponding TypeTag for the given Type. Allows to use reflection-created objects in APIs expecting TypeTag.

  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped