scala.reflect.internal

AnnotationCheckers

trait AnnotationCheckers extends AnyRef

Additions to the type checker that can be added at run time. Typically these are added by compiler plugins.

Self Type
SymbolTable
Source
AnnotationCheckers.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AnnotationCheckers
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringfmt
  2. by any2stringadd
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AnnotationChecker extends AnyRef

    An additional checker for annotations on types.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (AnnotationCheckers, B)

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to ArrowAssoc[AnnotationCheckers] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def adaptAnnotations(tree: Tree, mode: Int, pt: Type): Tree

    Let registered annotation checkers adapt a tree to a given type (called by Typers.

    Let registered annotation checkers adapt a tree to a given type (called by Typers.adapt). Annotation checkers that cannot do the adaption should pass the tree through unchanged.

  9. def adaptBoundsToAnnotations(bounds: List[TypeBounds], tparams: List[Symbol], targs: List[Type]): List[TypeBounds]

    Refine the bounds on type parameters to the given type arguments.

  10. def addAnnotationChecker(checker: AnnotationChecker): Unit

    Register an annotation checker.

    Register an annotation checker. Typically these are added by compiler plugins.

  11. def addAnnotations(tree: Tree, tpe: Type): Type

    Let all annotations checkers add extra annotations to this tree's type.

  12. def annotationsConform(tp1: Type, tp2: Type): Boolean

    Check that the annotations on two types conform.

    Check that the annotations on two types conform. To do so, consult all registered annotation checkers.

  13. def annotationsGlb(tpe: Type, ts: List[Type]): Type

    Refine the computed greatest lower bound of a list of types.

    Refine the computed greatest lower bound of a list of types. All this should do is add annotations.

  14. def annotationsLub(tpe: Type, ts: List[Type]): Type

    Refine the computed least upper bound of a list of types.

    Refine the computed least upper bound of a list of types. All this should do is add annotations.

  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def canAdaptAnnotations(tree: Tree, mode: Int, pt: Type): Boolean

    Find out whether any annotation checker can adapt a tree to a given type.

    Find out whether any annotation checker can adapt a tree to a given type. Called by Typers.adapt.

  17. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def ensuring(cond: (AnnotationCheckers) ⇒ Boolean, msg: ⇒ Any): AnnotationCheckers

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to Ensuring[AnnotationCheckers] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: (AnnotationCheckers) ⇒ Boolean): AnnotationCheckers

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to Ensuring[AnnotationCheckers] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean, msg: ⇒ Any): AnnotationCheckers

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to Ensuring[AnnotationCheckers] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. def ensuring(cond: Boolean): AnnotationCheckers

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to Ensuring[AnnotationCheckers] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  26. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. def removeAllAnnotationCheckers(): Unit

    Remove all annotation checkers

  33. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  34. val self: Any

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. def [B](y: B): (AnnotationCheckers, B)

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to ArrowAssoc[AnnotationCheckers] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: AnnotationCheckers

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to ArrowAssoc[AnnotationCheckers] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: AnnotationCheckers

    Implicit information
    This member is added by an implicit conversion from AnnotationCheckers to Ensuring[AnnotationCheckers] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from AnnotationCheckers to StringFormat

Inherited by implicit conversion any2stringadd from AnnotationCheckers to StringAdd

Inherited by implicit conversion any2ArrowAssoc from AnnotationCheckers to ArrowAssoc[AnnotationCheckers]

Inherited by implicit conversion any2Ensuring from AnnotationCheckers to Ensuring[AnnotationCheckers]