Class ShapeGenerator
- java.lang.Object
- 
- software.amazon.smithy.traitcodegen.generators.ShapeGenerator
 
- 
- All Implemented Interfaces:
- java.util.function.Consumer<GenerateTraitDirective>
 
 public final class ShapeGenerator extends java.lang.Object implements java.util.function.Consumer<GenerateTraitDirective> Base class used for the generation of traits and nested shapes from aGenerateTraitDirective.This class will determine if a shape is a trait (i.e. has the TraitDefinitiontrait) or if the shape provided should be treated as a nested shape (i.e. defines a simple pojo).
- 
- 
Constructor SummaryConstructors Constructor Description ShapeGenerator()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(GenerateTraitDirective directive)
 
- 
- 
- 
Method Detail- 
acceptpublic void accept(GenerateTraitDirective directive) - Specified by:
- acceptin interface- java.util.function.Consumer<GenerateTraitDirective>
 
 
- 
 
-