Packages

sealed abstract class AnnotationInfo extends Forest.AbsAnnotationInfo with Product3[Forest.Type, List[Forest.Tree], List[(Forest.Name, Forest.ClassfileAnnotArg)]]

Typed information about an annotation. It can be attached to either a symbol or an annotated type.

Annotations are written to the classfile as Java annotations if atp conforms to ClassfileAnnotation (the classfile parser adds this interface to any Java annotation class).

Annotations are pickled (written to scala symtab attribute in the classfile) if atp inherits form StaticAnnotation.

args stores arguments to Scala annotations, represented as typed trees. Note that these trees are not transformed by any phases following the type-checker.

assocs stores arguments to classfile annotations as name-value pairs.

Linear Supertypes
Product3[Forest.Type, List[Forest.Tree], List[(Forest.Name, Forest.ClassfileAnnotArg)]], Product, Equals, Forest.AbsAnnotationInfo, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnnotationInfo
  2. Product3
  3. Product
  4. Equals
  5. AbsAnnotationInfo
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def args: List[Forest.Tree]
    Definition Classes
    AnnotationInfoAbsAnnotationInfo
  2. abstract def assocs: List[(Forest.Name, Forest.ClassfileAnnotArg)]
    Definition Classes
    AnnotationInfoAbsAnnotationInfo
  3. abstract def atp: Forest.Type
    Definition Classes
    AnnotationInfoAbsAnnotationInfo

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def _1: Forest.Type

    Hand rolling Product.

    Hand rolling Product.

    Definition Classes
    AnnotationInfo → Product3
  5. def _2: List[Forest.Tree]
    Definition Classes
    AnnotationInfo → Product3
  6. def _3: List[(Forest.Name, Forest.ClassfileAnnotArg)]
    Definition Classes
    AnnotationInfo → Product3
  7. def argAtIndex(index: Int): Option[Forest.Tree]
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def canEqual(other: Any): Boolean
    Definition Classes
    AnnotationInfo → Equals
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def constantAtIndex(index: Int): Option[Forest.Constant]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(other: Any): Boolean
    Definition Classes
    AnnotationInfo → Equals → AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. def hasArgWhich(p: (Forest.Tree) ⇒ Boolean): Boolean
  17. def hashCode(): Int
    Definition Classes
    AnnotationInfo → AnyRef → Any
  18. def intArg(index: Int): Option[Int]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def matches(clazz: Forest.Symbol): Boolean

    The default kind of members to which this annotation is attached.

    The default kind of members to which this annotation is attached. For instance, for scala.deprecated defaultTargets = List(getter, setter, beanGetter, beanSetter).

  21. def metaAnnotations: List[Forest.AnnotationInfo]

    These are meta-annotations attached at the use site; they only apply to this annotation usage.

    These are meta-annotations attached at the use site; they only apply to this annotation usage. For instance, in @(deprecated @setter @field) val ... metaAnnotations = List(setter, field).

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  25. def pos: Position
  26. def productArity: Int
    Definition Classes
    Product3 → Product
  27. def productElement(n: Int): Any
    Definition Classes
    Product3 → Product
    Annotations
    @throws( ... )
  28. def productIterator: Iterator[Any]
    Definition Classes
    Product
  29. def productPrefix: String
    Definition Classes
    AnnotationInfo → Product
  30. def refsSymbol(sym: Forest.Symbol): Boolean

    Check whether any of the arguments mention a symbol

  31. def setPos(pos: Position): AnnotationInfo.this.type
  32. def stringArg(index: Int): Option[String]

    Change all ident's with Symbol "from" to instead use symbol "to"

  33. def symbol: Forest.Symbol

    Annotations annotating annotations are confusing so I drew an example.

  34. def symbolArg(index: Int): Option[Forest.TermName]
  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( ... )

Inherited from Product3[Forest.Type, List[Forest.Tree], List[(Forest.Name, Forest.ClassfileAnnotArg)]]

Inherited from Product

Inherited from Equals

Inherited from Forest.AbsAnnotationInfo

Inherited from AnyRef

Inherited from Any

Ungrouped