Class JAnnotations


  • public class JAnnotations
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> annotations  
    • Constructor Summary

      Constructors 
      Constructor Description
      JAnnotations()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendAnnotation​(java.lang.String annotation)  
      void print​(JSourceWriter jsw)
      prints this Annotations using the given JSourceWriter
      java.lang.String toString()
      Returns the String representation of this JAnnotations
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • annotations

        private java.util.List<java.lang.String> annotations
    • Constructor Detail

      • JAnnotations

        public JAnnotations()
    • Method Detail

      • appendAnnotation

        public void appendAnnotation​(java.lang.String annotation)
      • toString

        public java.lang.String toString()
        Returns the String representation of this JAnnotations
        Overrides:
        toString in class java.lang.Object
        Returns:
        the String representation of this JAnnotations
      • print

        public void print​(JSourceWriter jsw)
        prints this Annotations using the given JSourceWriter
        Parameters:
        jsw - the JSourceWriter to print to