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]
Reflects against a constructor symbol and returns a mirror that can be used to invoke it and construct instances of this mirror's symbols.
To get a constructor symbol you would like to reflect, use <this mirror>.symbol.info.member(termNames.CONSTRUCTOR).asMethod
. For further information about member lookup refer to Symbol.info
.
The input symbol can be either private or non-private (Scala reflection transparently deals with visibility). It must be a member (declared or inherited) of the class underlying this mirror.
The Scala class symbol corresponding to the reflected class
© 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$ClassMirror.html
A mirror that reflects the instance parts of a runtime class. See the overview page for details on how to use runtime reflection.