Trait

scala.reflect.api.Mirrors

TemplateMirror

Related Doc: package Mirrors

Permalink

trait TemplateMirror extends AnyRef

A mirror that reflects the instance or static parts of a runtime class. See the overview page for details on how to use runtime reflection.

Source
Mirrors.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TemplateMirror
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def isStatic: Boolean

    Permalink

    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]

  2. abstract def symbol: Universe.Symbol

    Permalink

    The Scala symbol corresponding to the reflected runtime class or object