class CompleteAnnotationInfo extends SymbolTable.AnnotationInfo
- Alphabetic
- By Inheritance
- CompleteAnnotationInfo
- AnnotationInfo
- AnnotationApi
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CompleteAnnotationInfo(atp: SymbolTable.Type, args: List[SymbolTable.Tree], assocs: List[(SymbolTable.Name, SymbolTable.ClassfileAnnotArg)])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
argAtIndex(index: Int): Option[SymbolTable.Tree]
- Definition Classes
- AnnotationInfo
-
val
args: List[SymbolTable.Tree]
- Definition Classes
- CompleteAnnotationInfo → AnnotationInfo
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
assocs: List[(SymbolTable.Name, SymbolTable.ClassfileAnnotArg)]
- Definition Classes
- CompleteAnnotationInfo → AnnotationInfo
-
val
atp: SymbolTable.Type
- Definition Classes
- CompleteAnnotationInfo → AnnotationInfo
-
def
booleanArg(index: Int): Option[Boolean]
- Definition Classes
- AnnotationInfo
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
completeInfo(): Unit
- Definition Classes
- AnnotationInfo
-
def
constantAtIndex(index: Int): Option[SymbolTable.Constant]
- Definition Classes
- AnnotationInfo
-
def
defaultTargets: collection.immutable.List[SymbolTable.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).
NOTE: have to call symbol.initialize, since we won't get any annotations if the symbol hasn't yet been completed
- Definition Classes
- AnnotationInfo
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- AnnotationInfo → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hasArgWhich(p: (SymbolTable.Tree) ⇒ Boolean): Boolean
- Definition Classes
- AnnotationInfo
-
def
hashCode(): Int
- Definition Classes
- AnnotationInfo → AnyRef → Any
-
def
intArg(index: Int): Option[Int]
- Definition Classes
- AnnotationInfo
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isStatic: Boolean
- Definition Classes
- AnnotationInfo
-
lazy val
isTrivial: Boolean
- Definition Classes
- AnnotationInfo
-
def
javaArgs: ListMap[SymbolTable.Name, SymbolTable.ClassfileAnnotArg]
Payload of the Java annotation: a list of name-value pairs.
Payload of the Java annotation: a list of name-value pairs. Empty for Scala annotations.
- Definition Classes
- AnnotationInfo → AnnotationApi
-
def
matches(clazz: SymbolTable.Symbol): Boolean
- Definition Classes
- AnnotationInfo
-
def
metaAnnotations: List[SymbolTable.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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
original: SymbolTable.Tree
- Definition Classes
- CompleteAnnotationInfo → AnnotationInfo
-
def
pos: SymbolTable.Position
- Definition Classes
- AnnotationInfo
-
def
refsSymbol(sym: SymbolTable.Symbol): Boolean
Check whether any of the arguments mention a symbol
Check whether any of the arguments mention a symbol
- Definition Classes
- AnnotationInfo
-
def
scalaArgs: List[SymbolTable.Tree]
Payload of the Scala annotation: a list of abstract syntax trees that represent the argument.
Payload of the Scala annotation: a list of abstract syntax trees that represent the argument. Empty for Java annotations.
- Definition Classes
- AnnotationInfo → AnnotationApi
-
def
setOriginal(t: SymbolTable.Tree): CompleteAnnotationInfo.this.type
- Definition Classes
- CompleteAnnotationInfo → AnnotationInfo
-
def
setPos(pos: SymbolTable.Position): CompleteAnnotationInfo.this.type
- Definition Classes
- AnnotationInfo
-
def
stringArg(index: Int): Option[String]
- Definition Classes
- AnnotationInfo
-
def
symbol: SymbolTable.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
-
def
symbolArg(index: Int): Option[SymbolTable.TermName]
- Definition Classes
- AnnotationInfo
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- CompleteAnnotationInfo → AnyRef → Any
-
def
tpe: SymbolTable.Type
The type of the annotation.
The type of the annotation.
- Definition Classes
- AnnotationInfo → AnnotationApi
-
def
transformArgs(f: (List[SymbolTable.Tree]) ⇒ List[SymbolTable.Tree]): SymbolTable.AnnotationInfo
- Definition Classes
- AnnotationInfo
-
def
tree: SymbolTable.Tree
The tree underlying the annotation.
The tree underlying the annotation.
- Definition Classes
- AnnotationApi
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )