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/scala.reflect/Selectable

Selectable

scala.reflect.Selectable
See theSelectable companion object

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 viareflectiveSelectable.

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

Attributes

Companion
object
Source
Selectable.scala
Graph
Supertypes
classObject
traitMatchable
classAny

Members list

Value members

Concrete methods

finaldefapplyDynamic(name:String,paramTypes:Class[_]*)(args:Any*):Any

Select method and apply to arguments.

Select method and apply to arguments.

Value parameters

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

Attributes

Source
Selectable.scala
finaldefselectDynamic(name:String):Any

Select member with given name

Select member with given name

Attributes

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