Creates a corresponding ClassTag
for the given TypeTag
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.
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.
Returns a list of names and return types of 0-argument public methods of a Scala type
Returns true if the type is scala tuple of any arity
Returns true if the type is scala tuple of any arity
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.
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.
Returns the return type of the method.
Returns the return type of the method.
The method must exist, otherwise IllegalArgumentException
is thrown.
Returns a list of names and parameter types of 1-argument public methods of a Scala type, returning no result (Unit)
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
.