public interface GeneratorDecorator
extends com.cedarsoft.codegen.Decorator
| Modifier and Type | Method and Description |
|---|---|
void |
decorateDeserializeMethod(com.cedarsoft.codegen.CodeGenerator codeGenerator,
com.sun.codemodel.JType domainType,
com.sun.codemodel.JDefinedClass serializerClass,
com.sun.codemodel.JMethod deserializeMethod)
Decorates the deserialize method
|
void |
decorateSerializeMethod(com.cedarsoft.codegen.CodeGenerator codeGenerator,
com.sun.codemodel.JType domainType,
com.sun.codemodel.JDefinedClass serializerClass,
com.sun.codemodel.JMethod serializeMethod)
Decorates the serialize method
|
void decorateSerializeMethod(@Nonnull com.cedarsoft.codegen.CodeGenerator codeGenerator, @Nonnull com.sun.codemodel.JType domainType, @Nonnull com.sun.codemodel.JDefinedClass serializerClass, @Nonnull com.sun.codemodel.JMethod serializeMethod)
codeGenerator - the code generatordomainType - the domain typeserializerClass - the serializer classserializeMethod - the serialize methodvoid decorateDeserializeMethod(@Nonnull com.cedarsoft.codegen.CodeGenerator codeGenerator, @Nonnull com.sun.codemodel.JType domainType, @Nonnull com.sun.codemodel.JDefinedClass serializerClass, @Nonnull com.sun.codemodel.JMethod deserializeMethod)
codeGenerator - the code generatordomainType - the domain typeserializerClass - the serializer classdeserializeMethod - the deserialize methodCopyright © 2012 cedarsoft GmbH. All Rights Reserved.