Class FlattenAndRemoveMixins
java.lang.Object
software.amazon.smithy.build.transforms.FlattenAndRemoveMixins
- All Implemented Interfaces:
ProjectionTransformer
flattenAndRemoveMixins
flattens mixins out of the model.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of the transformer.transform
(TransformContext context) Transforms the given model using the providedTransformContext
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.smithy.build.ProjectionTransformer
getAdditionalProjections
-
Constructor Details
-
FlattenAndRemoveMixins
public FlattenAndRemoveMixins()
-
-
Method Details
-
getName
Description copied from interface:ProjectionTransformer
Gets the name of the transformer.- Specified by:
getName
in interfaceProjectionTransformer
- Returns:
- Returns the name (e.g., "traits").
-
transform
Description copied from interface:ProjectionTransformer
Transforms the given model using the providedTransformContext
.- Specified by:
transform
in interfaceProjectionTransformer
- Parameters:
context
- Transformation context.- Returns:
- Returns the created transformer.
-