Class AnnotationPrinter


  • public class AnnotationPrinter
    extends java.lang.Object
    Prints the model spec of an annotation.
    Author:
    harald
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationPrinter​(java.lang.String annotation)
      Creates an annotation printer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String print()
      Prints the annotation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationPrinter

        public AnnotationPrinter​(java.lang.String annotation)
        Creates an annotation printer.
        Parameters:
        annotation - the annotation
    • Method Detail

      • print

        public java.lang.String print()
        Prints the annotation.
        Returns:
        the pretty printed annotation