Packages

c

org.opalj.br

TypeAnnotation

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
Linear Supertypes
Serializable, Product, Equals, AnnotationLike, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeAnnotation
  2. Serializable
  3. Product
  4. Equals
  5. AnnotationLike
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TypeAnnotation(target: TypeAnnotationTarget, path: TypeAnnotationPath, annotationType: FieldType, elementValuePairs: ElementValuePairs)

Value Members

  1. val annotationType: FieldType
    Definition Classes
    TypeAnnotationAnnotationLike
  2. val elementValuePairs: ElementValuePairs
    Definition Classes
    TypeAnnotationAnnotationLike
  3. val path: TypeAnnotationPath
  4. def productElementNames: Iterator[String]
    Definition Classes
    Product
  5. def remapPCs(codeSize: Int, f: (PC) => PC): Option[TypeAnnotation]
  6. val target: TypeAnnotationTarget