Class Excerpts
- java.lang.Object
-
- org.inferred.freebuilder.processor.source.Excerpts
-
public class Excerpts extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateExcerpts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Excerptadd(java.lang.String fmt, java.lang.Object... args)private static voidappendJoined(SourceBuilder source, java.lang.String separator, java.lang.Iterable<?> excerpts)static Excerptgenerated(java.lang.Class<?> generator)Returns an excerpt of theGeneratedannotation, if available, with value set to the full name of thegeneratorclass as recommended.static Excerptjoin(java.lang.String separator, java.lang.Iterable<?> excerpts)
-
-
-
Field Detail
-
EMPTY
public static final Excerpt EMPTY
-
-
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 theGeneratedannotation, if available, with value set to the full name of thegeneratorclass 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)
-
-