Packages

c

scala.reflect.api.Trees

ModifiersApi

abstract class ModifiersApi extends AnyRef

The API that all Modifiers support

Source
Trees.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModifiersApi
  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

Instance Constructors

  1. new ModifiersApi()

Abstract Value Members

  1. abstract def annotations: List[Universe.Tree]

    The annotations of the enclosing definition.

    The annotations of the enclosing definition. Empty list if none are specified explicitly.

  2. abstract def flags: Universe.FlagSet

    The underlying flags of the enclosing definition.

    The underlying flags of the enclosing definition. Is equal to NoFlags if none are specified explicitly.

  3. abstract def hasFlag(flag: Universe.FlagSet): Boolean
  4. abstract def privateWithin: Universe.Name

    The visibility scope of the enclosing definition.

    The visibility scope of the enclosing definition. Is equal to tpnme.EMPTY if none is specified explicitly.

Concrete Value Members

  1. def mapAnnotations(f: (List[Universe.Tree]) => List[Universe.Tree]): Universe.Modifiers

    Creates a new instance of Modifiers with the annotations transformed according to the given function.