True if the mirror represents the static part of a runtime class or the companion object of a Scala class.
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.
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.typeSignature.member(nme.CONSTRUCTOR).asMethod
.
For further information about member lookup refer to Symbol.typeSignature
.
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
The Scala class symbol corresponding to the reflected class
Returns string formatted according to given format
string.
Returns string formatted according to given format
string.
Format strings are as for String.format
(@see java.lang.String.format).
A mirror that reflects the instance parts of a runtime class. See the overview page for details on how to use runtime reflection.