Interface CBCGJavaClassGeneratorType<T>
- Type Parameters:
T-
- All Known Implementing Classes:
CBCGDataClassGenerator,CBCGJavaSerializerCollectionGenerator,CBCGJavaSerializerFactoryGenerator,CBCGJavaSerializerGenerator,CBCGProtocolGenerator,CBCGProtocolInterfaceGenerator,CBCGProtocolVersionedInterfaceGenerator,CBCGProtocolVersionedSerializerClassGenerator,CBCGProtocolVersionedSerializerFactoryClassGenerator
public interface CBCGJavaClassGeneratorType<T>
A generator of a Java class.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(CBSPICodeGeneratorConfiguration configuration, String packageName, T type) Generate code for the given type.
-
Method Details
-
execute
Path execute(CBSPICodeGeneratorConfiguration configuration, String packageName, T type) throws CBSPICodeGeneratorException Generate code for the given type.- Parameters:
configuration- The generator configurationpackageName- The package nametype- The type name- Returns:
- The path to the generated class
- Throws:
CBSPICodeGeneratorException- On errors
-