case class TypeAnnotation(target: TypeAnnotationTarget, path: TypeAnnotationPath, annotationType: FieldType, elementValuePairs: ElementValuePairs) extends AnnotationLike with Product with Serializable
A type annotation (*TA*).
TypeAnnotations were introduced with Java 8 and are associated with a ClassFile, Field, Method or Code using a org.opalj.br.RuntimeInvisibleTypeAnnotationTable or a org.opalj.br.RuntimeVisibleTypeAnnotationTable attribute.
- Source
- TypeAnnotation.scala
- Alphabetic
- By Inheritance
- TypeAnnotation
- Serializable
- Product
- Equals
- AnnotationLike
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TypeAnnotation(target: TypeAnnotationTarget, path: TypeAnnotationPath, annotationType: FieldType, elementValuePairs: ElementValuePairs)
Value Members
- val annotationType: FieldType
- Definition Classes
- TypeAnnotation → AnnotationLike
- val elementValuePairs: ElementValuePairs
- Definition Classes
- TypeAnnotation → AnnotationLike
- val path: TypeAnnotationPath
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def remapPCs(codeSize: Int, f: (PC) => PC): Option[TypeAnnotation]
- val target: TypeAnnotationTarget