类 TypeAnnotationNode

直接已知子类:
LocalVariableAnnotationNode

public class TypeAnnotationNode extends AnnotationNode
A node that represents a type annotation.
作者:
Eric Bruneton
  • 字段详细资料

    • typeRef

      public int typeRef
      A reference to the annotated type. See TypeReference.
    • typePath

      public TypePath typePath
      The path to the annotated type argument, wildcard bound, array element type, or static outer type within the referenced type. May be null if the annotation targets 'typeRef' as a whole.
  • 构造器详细资料

    • TypeAnnotationNode

      public TypeAnnotationNode(int typeRef, TypePath typePath, String descriptor)
      Constructs a new AnnotationNode.
      参数:
      typeRef - a reference to the annotated type. See TypeReference.
      typePath - the path to the annotated type argument, wildcard bound, array element type, or static inner type within 'typeRef'. May be null if the annotation targets 'typeRef' as a whole.
      descriptor - the class descriptor of the annotation class.