Class ServiceJavaSymbolProvider
java.lang.Object
software.amazon.smithy.java.codegen.JavaSymbolProvider
software.amazon.smithy.java.codegen.server.ServiceJavaSymbolProvider
- All Implemented Interfaces:
software.amazon.smithy.codegen.core.SymbolProvider,software.amazon.smithy.model.shapes.ShapeVisitor<software.amazon.smithy.codegen.core.Symbol>
public final class ServiceJavaSymbolProvider
extends software.amazon.smithy.java.codegen.JavaSymbolProvider
Maps Smithy types to Java Symbols for server code generation.
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.smithy.model.shapes.ShapeVisitor
software.amazon.smithy.model.shapes.ShapeVisitor.DataShapeVisitor<R>, software.amazon.smithy.model.shapes.ShapeVisitor.Default<R> -
Constructor Summary
ConstructorsConstructorDescriptionServiceJavaSymbolProvider(software.amazon.smithy.model.Model model, software.amazon.smithy.model.shapes.ServiceShape service, String packageNamespace, String serviceName) -
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.smithy.codegen.core.SymboloperationShape(software.amazon.smithy.model.shapes.OperationShape operationShape) software.amazon.smithy.codegen.core.SymbolserviceShape(software.amazon.smithy.model.shapes.ServiceShape serviceShape) Methods inherited from class software.amazon.smithy.java.codegen.JavaSymbolProvider
bigDecimalShape, bigIntegerShape, blobShape, booleanShape, byteShape, documentShape, doubleShape, enumShape, floatShape, integerShape, intEnumShape, listShape, longShape, mapShape, memberShape, packageNamespace, resourceShape, service, shortShape, stringShape, structureShape, timestampShape, toMemberName, toSymbol, unionShapeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.smithy.model.shapes.ShapeVisitor
setShape
-
Constructor Details
-
ServiceJavaSymbolProvider
-
-
Method Details
-
operationShape
public software.amazon.smithy.codegen.core.Symbol operationShape(software.amazon.smithy.model.shapes.OperationShape operationShape) - Specified by:
operationShapein interfacesoftware.amazon.smithy.model.shapes.ShapeVisitor<software.amazon.smithy.codegen.core.Symbol>- Overrides:
operationShapein classsoftware.amazon.smithy.java.codegen.JavaSymbolProvider
-
serviceShape
public software.amazon.smithy.codegen.core.Symbol serviceShape(software.amazon.smithy.model.shapes.ServiceShape serviceShape) - Specified by:
serviceShapein interfacesoftware.amazon.smithy.model.shapes.ShapeVisitor<software.amazon.smithy.codegen.core.Symbol>- Overrides:
serviceShapein classsoftware.amazon.smithy.java.codegen.JavaSymbolProvider
-