Selectable

trait Selectable extends Selectable

A class that implements structural selections using Java reflection.

A class that implements structural selections using Java reflection.

It can be used as a supertrait of a class or be made available as an implicit conversion via reflectiveSelectable.

In Scala.js, it is implemented using a separate Scala.js-specific mechanism, since Java reflection is not available.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

final def applyDynamic(name: String, paramTypes: Class[_]*)(args: Any*): Any

Select method and apply to arguments.

Select method and apply to arguments.

Value Params
args

The arguments to pass to the selected method

name

The name of the selected method

paramTypes

The class tags of the selected method's formal parameter types

final def selectDynamic(name: String): Any

Select member with given name

Select member with given name