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

    Constructors
    Constructor
    Description
    ServiceJavaSymbolProvider(software.amazon.smithy.model.Model model, software.amazon.smithy.model.shapes.ServiceShape service, String packageNamespace, String serviceName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    software.amazon.smithy.codegen.core.Symbol
    operationShape(software.amazon.smithy.model.shapes.OperationShape operationShape)
     
    software.amazon.smithy.codegen.core.Symbol
    serviceShape(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, unionShape

    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.model.shapes.ShapeVisitor

    setShape
  • Constructor Details

    • ServiceJavaSymbolProvider

      public ServiceJavaSymbolProvider(software.amazon.smithy.model.Model model, software.amazon.smithy.model.shapes.ServiceShape service, String packageNamespace, String serviceName)
  • Method Details

    • operationShape

      public software.amazon.smithy.codegen.core.Symbol operationShape(software.amazon.smithy.model.shapes.OperationShape operationShape)
      Specified by:
      operationShape in interface software.amazon.smithy.model.shapes.ShapeVisitor<software.amazon.smithy.codegen.core.Symbol>
      Overrides:
      operationShape in class software.amazon.smithy.java.codegen.JavaSymbolProvider
    • serviceShape

      public software.amazon.smithy.codegen.core.Symbol serviceShape(software.amazon.smithy.model.shapes.ServiceShape serviceShape)
      Specified by:
      serviceShape in interface software.amazon.smithy.model.shapes.ShapeVisitor<software.amazon.smithy.codegen.core.Symbol>
      Overrides:
      serviceShape in class software.amazon.smithy.java.codegen.JavaSymbolProvider