Class POJOAnnotationFormatter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String format​(java.lang.Object obj, POJOFormat annotation)
      Format a single argument by taking the given annotation into account.
      • Methods inherited from class java.lang.Object

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

      • POJOAnnotationFormatter

        public POJOAnnotationFormatter()
    • Method Detail

      • format

        public java.lang.String format​(java.lang.Object obj,
                                       POJOFormat annotation)
        Description copied from interface: AnnotationArgumentFormatter
        Format a single argument by taking the given annotation into account.
        Specified by:
        format in interface AnnotationArgumentFormatter<POJOFormat>
        Parameters:
        obj - the object to format
        annotation - the annotation the parameter was annotated with
        Returns:
        a formatted string