+ public static UnsignedIntegerTypeEffectiveStatementImpl<Uint8TypeDefinition> create(
+ final StmtContext<String, TypeStatement, EffectiveStatement<String, TypeStatement>> ctx,
+ final Uint8TypeDefinition baseType) {
+ return new UnsignedIntegerTypeEffectiveStatementImpl<>(ctx, RestrictedTypes.newUint8Builder(baseType,
+ TypeUtils.typeEffectiveSchemaPath(ctx)));
+ }
+
+ public static UnsignedIntegerTypeEffectiveStatementImpl<Uint16TypeDefinition> create(
+ final StmtContext<String, TypeStatement, EffectiveStatement<String, TypeStatement>> ctx,
+ final Uint16TypeDefinition baseType) {
+ return new UnsignedIntegerTypeEffectiveStatementImpl<>(ctx, RestrictedTypes.newUint16Builder(baseType,
+ TypeUtils.typeEffectiveSchemaPath(ctx)));
+ }
+
+ public static UnsignedIntegerTypeEffectiveStatementImpl<Uint32TypeDefinition> create(
+ final StmtContext<String, TypeStatement, EffectiveStatement<String, TypeStatement>> ctx,
+ final Uint32TypeDefinition baseType) {
+ return new UnsignedIntegerTypeEffectiveStatementImpl<>(ctx, RestrictedTypes.newUint32Builder(baseType,
+ TypeUtils.typeEffectiveSchemaPath(ctx)));
+ }
+
+ public static UnsignedIntegerTypeEffectiveStatementImpl<Uint64TypeDefinition> create(
+ final StmtContext<String, TypeStatement, EffectiveStatement<String, TypeStatement>> ctx,
+ final Uint64TypeDefinition baseType) {
+ return new UnsignedIntegerTypeEffectiveStatementImpl<>(ctx, RestrictedTypes.newUint64Builder(baseType,
+ TypeUtils.typeEffectiveSchemaPath(ctx)));
+ }
+