Class ClassAnnotationElement

    • Constructor Detail

      • ClassAnnotationElement

        public ClassAnnotationElement​(ClassInfo classInfo,
                                      int descriptorIndex)
        Constructs a new ClassAnnotationElement} instance.
        Parameters:
        classInfo - the ClassInfo instance this annotation attribute is part of.
        descriptorIndex - the annotation element value index.
    • Method Detail

      • print

        public void print​(ClassPrinter out,
                          ClassContext context)
                   throws java.io.IOException
        Description copied from interface: Printable
        Prints this instance.
        Parameters:
        out - the ClassPrinter instance to print to.
        context - the context of this print invocation.
        Throws:
        java.io.IOException - if an I/O error occurs.