public final class GenerateSeed extends JavaPoetGenerator implements GlobalGenerator
contentBuilder, DART_API_PACKAGE, DART_LIB_PACKAGE, TOKEN_CLASS| Constructor and Description |
|---|
GenerateSeed() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSeed(Seed seed)
Add a
Seed to the generation. |
void |
addSprout(Sprout sprout)
Add a
Sprout to the generation. |
void |
addTreatment(Treatment treatment)
Add a
Treatment to the generation. |
protected com.squareup.javapoet.MethodSpec |
constructor() |
protected java.util.List<com.squareup.javapoet.FieldSpec> |
fields() |
protected java.util.List<com.squareup.javapoet.MethodSpec> |
genericMethods(com.squareup.javapoet.ClassName currentClass) |
protected java.util.List<com.squareup.javapoet.MethodSpec> |
getters() |
protected com.squareup.javapoet.MethodSpec |
parseMethod(com.squareup.javapoet.ClassName c) |
void |
setDart(Dart dart)
Set the dart to generate.
|
className, currentClass, dartName, fileContent, generationPackage, hasContent, setDartNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclassName, fileContentpublic void setDart(Dart dart)
GlobalGeneratorsetDart in interface GlobalGeneratordart - The dart to use.public void addSeed(Seed seed)
GlobalGeneratorSeed to the generation.addSeed in interface GlobalGeneratorseed - The seed to add.public void addTreatment(Treatment treatment)
GlobalGeneratorTreatment to the generation.addTreatment in interface GlobalGeneratortreatment - The treatment to add.public void addSprout(Sprout sprout)
GlobalGeneratorSprout to the generation.addSprout in interface GlobalGeneratorsprout - The seed to add.protected com.squareup.javapoet.MethodSpec constructor()
protected java.util.List<com.squareup.javapoet.FieldSpec> fields()
protected java.util.List<com.squareup.javapoet.MethodSpec> getters()
protected java.util.List<com.squareup.javapoet.MethodSpec> genericMethods(com.squareup.javapoet.ClassName currentClass)
protected com.squareup.javapoet.MethodSpec parseMethod(com.squareup.javapoet.ClassName c)