Separate class in Java for generating the code because Groovy can't talk to Java vararg methods
| Type | Name and description |
|---|---|
static void |
generate(java.util.List<com.flipboard.psync.PrefEntry> inputKeys, java.lang.String packageName, java.io.File outputDir, java.lang.String className)Groovy can't talk to Java vararg methods, such as JavaPoet's many vararg methods. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy can't talk to Java vararg methods, such as JavaPoet's many vararg methods. Utility class is here so we can use JavaPoet nicely.
inputKeys - List of the preference keys to generate forpackageName - Package name to create the P class inoutputDir - Output directory to create the P.java file inclassName - Name to use for the generated class