scala.Selectable
See theSelectable companion trait
object Selectable
Attributes
- Companion
- trait
- Source
- Selectable.scala
- Graph
-
- Supertypes
- Self type
-
Selectable.type
Members list
Type members
Classlikes
trait WithoutPreciseParameterTypes extends Selectable
A marker trait for subclasses of Selectable
indicating that precise parameter types are not needed for method dispatch. That is, a class inheriting from this trait and implementing
A marker trait for subclasses of Selectable
indicating that precise parameter types are not needed for method dispatch. That is, a class inheriting from this trait and implementing
def applyDynamic(name: String, paramTypes: Class[_]*)(args: Any*)
should dispatch to a method with the given name
without having to rely on the precise paramTypes
. Subtypes of WithoutPreciseParameterTypes
can have more relaxed subtyping rules for refinements. They do not need the additional restriction that the signatures of the refinement and the definition that implements the refinement must match.
Attributes
- Source
- Selectable.scala
- Supertypes
Implicits
Deprecated implicits
Attributes
- Deprecated
-
[Since version 3.0]
import scala.reflect.Selectable.reflectiveSelectable instead of scala.language.reflectiveCalls - Source
- Selectable.scala
In this article