trait
Dynamic extends Any
Abstract Value Members
-
abstract
def
getClass(): Class[_]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (Dynamic, B)
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Dynamic
-
-
def
equals(arg0: Any): Boolean
-
def
formatted(fmtstr: String): String
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
toString(): String
-
def
→[B](y: B): (Dynamic, B)
A marker trait that enables dynamic invocations. Instances
x
of this trait allow method invocationsx.meth(args)
for arbitrary method namesmeth
and argument listsargs
as well as field accessesx.field
for arbitrary field namesfield
.If a call is not natively supported by
x
(i.e. if type checking fails), it is rewritten according to the following rules:As of Scala 2.10, defining direct or indirect subclasses of this trait is only possible if the language feature
dynamics
is enabled.