Class SymbolProperties
- java.lang.Object
-
- software.amazon.smithy.traitcodegen.SymbolProperties
-
public final class SymbolProperties extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static Property<Symbol>
BASE_SYMBOL
The "base" symbol for a trait.static Property<java.lang.String>
BUILDER_REF_INITIALIZER
Provides an initializer for the builder ref.static Property<java.lang.Boolean>
IS_PRIMITIVE
Indicates that the given symbol is a primitive type.static Property<Symbol>
UNBOXED_SYMBOL
The unboxed or primitive version of a Symbol.
-
-
-
Field Detail
-
BUILDER_REF_INITIALIZER
public static final Property<java.lang.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) versioninteger
.
-
IS_PRIMITIVE
public static final Property<java.lang.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.
-
-