Class TypeAnnotationNode

    • Field Summary

      Fields 
      Modifier and Type Field Description
      org.objectweb.asm.TypePath typePath
      The path to the annotated type argument, wildcard bound, array element type, or static outer type within the referenced type.
      int typeRef
      A reference to the annotated type.
      • Fields inherited from class org.objectweb.asm.AnnotationVisitor

        api, av
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeAnnotationNode​(int api, int typeRef, org.objectweb.asm.TypePath typePath, java.lang.String descriptor)
      Constructs a new AnnotationNode.
      TypeAnnotationNode​(int typeRef, org.objectweb.asm.TypePath typePath, java.lang.String descriptor)
      Constructs a new AnnotationNode.
    • Field Detail

      • typeRef

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

        public org.objectweb.asm.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.
    • Constructor Detail

      • TypeAnnotationNode

        public TypeAnnotationNode​(int typeRef,
                                  org.objectweb.asm.TypePath typePath,
                                  java.lang.String descriptor)
        Constructs a new AnnotationNode. Subclasses must not use this constructor. Instead, they must use the TypeAnnotationNode(int, int, TypePath, String) version.
        Parameters:
        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.
        Throws:
        java.lang.IllegalStateException - If a subclass calls this constructor.
      • TypeAnnotationNode

        public TypeAnnotationNode​(int api,
                                  int typeRef,
                                  org.objectweb.asm.TypePath typePath,
                                  java.lang.String descriptor)
        Constructs a new AnnotationNode.
        Parameters:
        api - the ASM API version implemented by this visitor. Must be one of the ASMx values in Opcodes.
        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.