Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/Selectable

Selectable

scala.Selectable
See theSelectable companion trait

Attributes

Companion
trait
Source
Selectable.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type

Members list

Type members

Classlikes

A marker trait for subclasses ofSelectable 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 ofSelectable 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 givenname without having to rely on the preciseparamTypes. Subtypes ofWithoutPreciseParameterTypes 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
classObject
traitMatchable
classAny

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
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp