Class AnnotationElement


  • public class AnnotationElement
    extends java.lang.Object
    Base class of all AnnotationElement entries
    • Constructor Detail

      • AnnotationElement

        public AnnotationElement​(ClassData cls)
    • Method Detail

      • readValue

        public static AnnotationElement.AnnotValue readValue​(java.io.DataInputStream in,
                                                             ClassData cls,
                                                             boolean invisible)
                                                      throws java.io.IOException
        read Static factory - creates Annotation Elements.
        Throws:
        java.io.IOException
      • read

        public void read​(java.io.DataInputStream in,
                         boolean invisible)
                  throws java.io.IOException
        read read and resolve the method data called from ClassData. precondition: NumFields has already been read from the stream.
        Throws:
        java.io.IOException
      • stringVal

        public java.lang.String stringVal()
      • print

        public void print​(java.io.PrintWriter out,
                          java.lang.String tab)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object