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, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LazyAnnotationInfo
  2. AnnotationInfo
  3. AnyRef
  4. 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

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. def +(other: String): String

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

    Implicit information
    This member is added by an implicit conversion from LazyAnnotationInfo to ArrowAssoc[LazyAnnotationInfo] 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 argAtIndex(index: Int): Option[Tree]

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

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

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

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  12. def atp: Type

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  13. def clone(): AnyRef

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

    Definition Classes
    AnnotationInfo
  15. 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
  16. def ensuring(cond: (LazyAnnotationInfo) ⇒ Boolean, msg: ⇒ Any): LazyAnnotationInfo

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

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

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

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

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

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

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

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

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

    Definition Classes
    AnnotationInfo
  26. def hashCode(): Int

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

    Definition Classes
    AnnotationInfo
  28. 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
  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. def isStatic: Boolean

    Definition Classes
    AnnotationInfo
  31. lazy val isTrivial: Boolean

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

    Definition Classes
    AnnotationInfo
  33. 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
  34. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  37. def original: Tree

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  38. def pos: Position

    Definition Classes
    LazyAnnotationInfoAnnotationInfo
  39. 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
  40. val self: Any

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

    Implicit information
    This member is added by an implicit conversion from LazyAnnotationInfo to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  42. def setOriginal(t: Tree): LazyAnnotationInfo.this.type

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

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

    Definition Classes
    AnnotationInfo
  45. 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
  46. 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
  47. def symbolArg(index: Int): Option[TermName]

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

    Definition Classes
    AnyRef
  49. def toString(): String

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

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

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

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

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

Deprecated Value Members

  1. def x: LazyAnnotationInfo

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

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: LazyAnnotationInfo

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

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnnotationInfo

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringfmt from LazyAnnotationInfo to StringFormat

Inherited by implicit conversion any2stringadd from LazyAnnotationInfo to StringAdd

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

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