com.cedarsoft.serialization.generator.common
Class Generator.AbstractGeneratorRunner<T extends com.cedarsoft.codegen.DecisionCallback>
java.lang.Object
com.cedarsoft.serialization.generator.common.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 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(@Nonnull
com.cedarsoft.codegen.GeneratorConfiguration configuration)
throws IOException,
com.sun.codemodel.JClassAlreadyExistsException
- Specified by:
generate in interface com.cedarsoft.codegen.AbstractGenerator.Runner
- Throws:
IOException
com.sun.codemodel.JClassAlreadyExistsException
createDecisionCallback
@Nonnull
protected abstract T createDecisionCallback()
instantiateTestGenerator
@Nonnull
protected abstract AbstractGenerator<T> instantiateTestGenerator(@Nonnull
com.cedarsoft.codegen.CodeGenerator testCodeGenerator)
instantiateGenerator
@Nonnull
protected abstract AbstractGenerator<T> instantiateGenerator(@Nonnull
com.cedarsoft.codegen.CodeGenerator serializerCodeGenerator)
Copyright © 2011 cedarsoft GmbH. All Rights Reserved.