public final class PClassGenerator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
generate(java.util.List<PrefEntry> inputKeys,
java.lang.String packageName,
java.io.File outputDir,
java.lang.String className,
boolean generateRx)
Groovy can't talk to Java vararg methods, such as JavaPoet's many vararg methods.
|
public static void generate(java.util.List<PrefEntry> inputKeys, java.lang.String packageName, java.io.File outputDir, java.lang.String className, boolean generateRx) throws java.io.IOException
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 classgenerateRx - Boolean indicating whether or not to generate Rx-Preferences support codejava.io.IOException - because Java