Class ShapeDirective<T extends Shape,C extends CodegenContext<S,?,?>,S>
- java.lang.Object
-
- software.amazon.smithy.codegen.core.directed.Directive<S>
-
- software.amazon.smithy.codegen.core.directed.ContextualDirective<C,S>
-
- software.amazon.smithy.codegen.core.directed.ShapeDirective<T,C,S>
-
- Type Parameters:
T- Type of shape being generated.C- CodegenContext type.S- Codegen settings type.
- Direct Known Subclasses:
GenerateEnumDirective,GenerateErrorDirective,GenerateIntEnumDirective,GenerateListDirective,GenerateMapDirective,GenerateOperationDirective,GenerateResourceDirective,GenerateServiceDirective,GenerateStructureDirective,GenerateUnionDirective
public abstract class ShapeDirective<T extends Shape,C extends CodegenContext<S,?,?>,S> extends ContextualDirective<C,S>
Directive used to generate a specific shape.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tshape()Gets the shape being generated.Symbolsymbol()Gets the symbol created for the shape.-
Methods inherited from class software.amazon.smithy.codegen.core.directed.ContextualDirective
context, fileManifest, symbolProvider
-
Methods inherited from class software.amazon.smithy.codegen.core.directed.Directive
connectedShapes, model, operations, service, settings
-
-