scala.reflect.internal.AnnotationInfos

LazyAnnotationInfo

final class LazyAnnotationInfo extends AnnotationInfo

Symbol annotations parsed in Namer (typeCompleter of definitions) have to be lazy (#1782)

Source
AnnotationInfos.scala
Linear Supertypes
AnnotationInfo, Product3[Type, List[Tree], List[(Name, ClassfileAnnotArg)]], Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LazyAnnotationInfo
  2. AnnotationInfo
  3. Product3
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LazyAnnotationInfo(lazyInfo: ⇒ AnnotationInfo)

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def _1: Type

    Hand rolling Product.

    Hand rolling Product.

    Definition Classes
    AnnotationInfo → Product3
  7. def _2: List[Tree]

    Definition Classes
    AnnotationInfo → Product3
  8. def _3: List[(Name, ClassfileAnnotArg)]

    Definition Classes
    AnnotationInfo → Product3
  9. def argAtIndex(index: Int): Option[Tree]

    Definition Classes
    AnnotationInfo
  10. def args: List[Tree]

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def assocs: List[(Name, ClassfileAnnotArg)]

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  13. def atp: Type

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  14. def canEqual(other: Any): Boolean

    Definition Classes
    AnnotationInfo → Equals
  15. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. def constantAtIndex(index: Int): Option[Constant]

    Definition Classes
    AnnotationInfo
  17. def defaultTargets: List[Symbol]

    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).

    Definition Classes
    AnnotationInfo
  18. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. def equals(other: Any): Boolean

    Definition Classes
    AnnotationInfo → Equals → AnyRef → Any
  20. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  22. def hasArgWhich(p: (Tree) ⇒ Boolean): Boolean

    Definition Classes
    AnnotationInfo
  23. def hashCode(): Int

    Definition Classes
    AnnotationInfo → AnyRef → Any
  24. def intArg(index: Int): Option[Int]

    Definition Classes
    AnnotationInfo
  25. def isErroneous: Boolean

    Check whether the type or any of the arguments are erroneous

    Check whether the type or any of the arguments are erroneous

    Definition Classes
    AnnotationInfo
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def isStatic: Boolean

    Definition Classes
    AnnotationInfo
  28. lazy val isTrivial: Boolean

    Definition Classes
    AnnotationInfo
  29. def matches(clazz: Symbol): Boolean

    Definition Classes
    AnnotationInfo
  30. def metaAnnotations: List[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).

    Definition Classes
    AnnotationInfo
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  34. def original: Tree

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  35. def pos: Position

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  36. def productArity: Int

    Definition Classes
    Product3 → Product
  37. def productElement(n: Int): Any

    Definition Classes
    Product3 → Product
    Annotations
    @throws()
  38. def productIterator: Iterator[Any]

    Definition Classes
    Product
  39. def productPrefix: String

    Definition Classes
    AnnotationInfo → Product
  40. def refsSymbol(sym: Symbol): Boolean

    Check whether any of the arguments mention a symbol

    Check whether any of the arguments mention a symbol

    Definition Classes
    AnnotationInfo
  41. def setOriginal(t: Tree): LazyAnnotationInfo.this.type

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  42. def setPos(pos: Position): LazyAnnotationInfo.this.type

    Definition Classes
    AnnotationInfo
  43. def stringArg(index: Int): Option[String]

    Definition Classes
    AnnotationInfo
  44. def substIdentSyms(from: Symbol, to: Symbol): AnnotationInfo

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

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

    Definition Classes
    AnnotationInfo
  45. def symbol: Symbol

    Annotations annotating annotations are confusing so I drew an example.

    Annotations annotating annotations are confusing so I drew an example. Given the following code:

    class A {

    Definition Classes
    AnnotationInfo
  46. def symbolArg(index: Int): Option[TermName]

    Definition Classes
    AnnotationInfo
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnnotationInfo

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

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any