public final class EmitLegacyEnumSetterProcessor extends Object implements CodegenCustomizationProcessor
CodegenCustomizationProcessor to identify which enum members should have a legacy setter overload emitted to the
model class. See CustomizationConfig.getEmitLegacyEnumSetterFor().| Constructor and Description |
|---|
EmitLegacyEnumSetterProcessor(CustomizationConfig customizationConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
postprocess(IntermediateModel intermediateModel)
Apply the customization after the intermediate model is built
|
void |
preprocess(ServiceModel serviceModel)
Apply the customization by directly modifying the service model, before
the intermediate model is built.
|
public EmitLegacyEnumSetterProcessor(CustomizationConfig customizationConfig)
public void preprocess(ServiceModel serviceModel)
CodegenCustomizationProcessorpreprocess in interface CodegenCustomizationProcessorpublic void postprocess(IntermediateModel intermediateModel)
CodegenCustomizationProcessorpostprocess in interface CodegenCustomizationProcessorCopyright © 2022. All rights reserved.