scala.tools.nsc.symtab.AnnotationCheckers

AnnotationChecker

class AnnotationChecker extends AnyRef

An additional checker for annotations on types. Typically these are registered by compiler plugins with the addAnnotationChecker method.

Attributes
abstract
Source
AnnotationCheckers.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. AnnotationChecker
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnnotationChecker ()

Abstract Value Members

  1. def annotationsConform (tpe1: Type, tpe2: Type): Boolean

    Check the annotations on two types conform.

    Check the annotations on two types conform.

    Attributes
    abstract

Concrete Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

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

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

    Adapt a tree that has an annotated type to the given type tp, taking into account the given mode (see method adapt in trait Typers).

    Adapt a tree that has an annotated type to the given type tp, taking into account the given mode (see method adapt in trait Typers). An implementation cannot rely on canAdaptAnnotations being called before. If the implementing class cannot do the adaptiong, it should return the tree unchanged.

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

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

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

    Modify the type that has thus far been inferred for a tree.

    Modify the type that has thus far been inferred for a tree. All this should do is add annotations.

  9. def annotationsGlb (tp: 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.

  10. def annotationsLub (tp: 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.

  11. def asInstanceOf [T0] : T0

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

    Decide whether this annotation checker can adapt a tree that has an annotated type to the given type tp, taking into account the given mode (see method adapt in trait Typers).

  13. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hashCode (): Int

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  24. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any