Class CleanServiceRenames
java.lang.Object
software.amazon.smithy.model.transform.plugins.CleanServiceRenames
- All Implemented Interfaces:
- ModelTransformerPlugin
Removes "rename" entries from service shapes when a shape is removed.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiononRemove(ModelTransformer transformer, Collection<Shape> shapes, Model model) The method that is invoked each time shapes are removed from a model.
- 
Constructor Details- 
CleanServiceRenamespublic CleanServiceRenames()
 
- 
- 
Method Details- 
onRemoveDescription copied from interface:ModelTransformerPluginThe method that is invoked each time shapes are removed from a model.- Specified by:
- onRemovein interface- ModelTransformerPlugin
- Parameters:
- transformer- Transformer used to replace/remove shapes from the model.
- shapes- The of shapes that were removed from the- model.
- model- Model that has been altered to remove- removed.
- Returns:
- Returns a transformed version of the passed in model.
 
 
-