com.cedarsoft.serialization.generator
Class Generator.AbstractGeneratorRunner<T extends com.cedarsoft.codegen.DecisionCallback>
java.lang.Object
com.cedarsoft.serialization.generator.Generator.AbstractGeneratorRunner<T>
- All Implemented Interfaces:
- com.cedarsoft.codegen.AbstractGenerator.Runner
- Enclosing class:
- Generator
public abstract static class Generator.AbstractGeneratorRunner<T extends com.cedarsoft.codegen.DecisionCallback>
- extends java.lang.Object
- implements com.cedarsoft.codegen.AbstractGenerator.Runner
Static inner class that is necessary due to ClassLoader issues.
We want to be sure that everything works in the context off the APTClassLoader
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Generator.AbstractGeneratorRunner
public Generator.AbstractGeneratorRunner()
generate
public void generate(@NotNull
com.cedarsoft.codegen.GeneratorConfiguration configuration)
throws java.io.IOException,
com.sun.codemodel.JClassAlreadyExistsException
- Specified by:
generate in interface com.cedarsoft.codegen.AbstractGenerator.Runner
- Throws:
java.io.IOException
com.sun.codemodel.JClassAlreadyExistsException
createDecisionCallback
@NotNull
protected abstract T createDecisionCallback()
instantiateTestGenerator
@NotNull
protected abstract AbstractGenerator<T> instantiateTestGenerator(@NotNull
com.cedarsoft.codegen.CodeGenerator testCodeGenerator)
instantiateGenerator
@NotNull
protected abstract AbstractGenerator<T> instantiateGenerator(@NotNull
com.cedarsoft.codegen.CodeGenerator serializerCodeGenerator)
Copyright © 2010 cedarsoft GmbH. All Rights Reserved.