If the reflected runtime class corresponds to a Scala object definition, returns the single instance representing that object. If this mirror reflects the static part of a runtime class, returns null
.
True if the mirror represents the static part of a runtime class or the companion object of a Scala class. One has:
this.isStatic == this.isInstanceOf[ModuleMirror] !this.isStatic == this.isInstanceOf[ClassMirror]
The Scala module symbol corresponding to the reflected object
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/api/Mirrors$ModuleMirror.html
A mirror that reflects a Scala object definition or the static parts of a runtime class. See the overview page for details on how to use runtime reflection.