Class GenerateTraitDirective
- java.lang.Object
-
- software.amazon.smithy.traitcodegen.GenerateTraitDirective
-
public final class GenerateTraitDirective extends java.lang.Object
Custom directive that contains contextual information needed to generate a trait class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TraitCodegenContext
context()
Model
model()
Shape
shape()
Symbol
symbol()
SymbolProvider
symbolProvider()
-
-
-
Method Detail
-
shape
public Shape shape()
-
symbol
public Symbol symbol()
-
symbolProvider
public SymbolProvider symbolProvider()
-
context
public TraitCodegenContext context()
-
model
public Model model()
-
-