Class Annotation

    • Constructor Detail

      • Annotation

        public Annotation​(ClassInfo classInfo,
                          int typeIndex,
                          java.util.List<AnnotationElement> elements)
        Constructs a new Annotation instance.
        Parameters:
        classInfo - the ClassInfo instance this annotation attribute is part of.
        typeIndex - the annotation type index.
        elements - the annotation elements.
    • 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.