Class SymbolProperties

java.lang.Object
software.amazon.smithy.traitcodegen.SymbolProperties

public final class SymbolProperties extends Object
  • Field Details

    • BUILDER_REF_INITIALIZER

      public static final Property<String> BUILDER_REF_INITIALIZER
      Provides an initializer for the builder ref.

      This should always be included on collection shapes such as Maps and Lists.

    • BASE_SYMBOL

      public static final Property<Symbol> BASE_SYMBOL
      The "base" symbol for a trait.

      This is the symbol that the shape would resolve to if it were not marked with `@trait`. This property is expected on all trait symbols.

    • UNBOXED_SYMBOL

      public static final Property<Symbol> UNBOXED_SYMBOL
      The unboxed or primitive version of a Symbol.

      This property should be included on symbols such as `Integer` that have the boxed version Integer and an unboxed (primitive) version integer.

    • IS_PRIMITIVE

      public static final Property<Boolean> IS_PRIMITIVE
      Indicates that the given symbol is a primitive type.

      This property is checked for existence only and should have no meaningful value.