Class RemoveMixins
- java.lang.Object
 - 
- software.amazon.smithy.model.transform.plugins.RemoveMixins
 
 
- 
- All Implemented Interfaces:
 ModelTransformerPlugin
public final class RemoveMixins extends java.lang.Object implements ModelTransformerPlugin
Removes mixins from shapes when a mixin is removed from the model. 
- 
- 
Constructor Summary
Constructors Constructor Description RemoveMixins() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelonRemove(ModelTransformer transformer, java.util.Collection<Shape> shapes, Model model)The method that is invoked each time shapes are removed from a model. 
 - 
 
- 
- 
Method Detail
- 
onRemove
public Model onRemove(ModelTransformer transformer, java.util.Collection<Shape> shapes, Model model)
Description copied from interface:ModelTransformerPluginThe method that is invoked each time shapes are removed from a model.- Specified by:
 onRemovein interfaceModelTransformerPlugin- Parameters:
 transformer- Transformer used to replace/remove shapes from the model.shapes- The of shapes that were removed from themodel.model- Model that has been altered to removeremoved.- Returns:
 - Returns a transformed version of the passed in model.
 
 
 - 
 
 -