Class Excerpts


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

      Fields 
      Modifier and Type Field Description
      static Excerpt EMPTY  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Excerpts()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Excerpt add​(java.lang.String fmt, java.lang.Object... args)  
      private static void appendJoined​(SourceBuilder source, java.lang.String separator, java.lang.Iterable<?> excerpts)  
      static Excerpt generated​(java.lang.Class<?> generator)
      Returns an excerpt of the Generated annotation, if available, with value set to the full name of the generator class as recommended.
      static Excerpt join​(java.lang.String separator, java.lang.Iterable<?> excerpts)  
      • Methods inherited from class java.lang.Object

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

      • EMPTY

        public static final Excerpt EMPTY
    • Constructor Detail

      • Excerpts

        private Excerpts()
    • Method Detail

      • add

        public static Excerpt add​(java.lang.String fmt,
                                  java.lang.Object... args)
      • generated

        public static Excerpt generated​(java.lang.Class<?> generator)
        Returns an excerpt of the Generated annotation, if available, with value set to the full name of the generator class as recommended.
      • join

        public static Excerpt join​(java.lang.String separator,
                                   java.lang.Iterable<?> excerpts)
      • appendJoined

        private static void appendJoined​(SourceBuilder source,
                                         java.lang.String separator,
                                         java.lang.Iterable<?> excerpts)