Package io.activej.serializer.impl
Class SerializerDefList
java.lang.Object
io.activej.serializer.AbstractSerializerDef
io.activej.serializer.impl.AbstractSerializerDefCollection
io.activej.serializer.impl.SerializerDefRegularCollection
io.activej.serializer.impl.SerializerDefList
- All Implemented Interfaces:
SerializerDefWithNullable,SerializerDef
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.activej.serializer.SerializerDef
SerializerDef.StaticDecoders, SerializerDef.StaticEncoders, SerializerDef.Visitor -
Field Summary
Fields inherited from class io.activej.serializer.impl.AbstractSerializerDefCollection
decodeType, elementType, encodeType, nullable, valueSerializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull ExpressionaddToBuilder(Expression array, Expression i, Expression element) protected @NotNull Expressionbuild(Expression array) protected @NotNull ExpressioncreateBuilder(Expression length) protected @NotNull ExpressiondoDecode(SerializerDef.StaticDecoders staticDecoders, Expression in, int version, CompatibilityLevel compatibilityLevel, Expression length) protected @NotNull SerializerDefdoEnsureNullable(CompatibilityLevel compatibilityLevel) protected @NotNull ExpressiondoIterate(Expression collection, UnaryOperator<Expression> action) Methods inherited from class io.activej.serializer.impl.AbstractSerializerDefCollection
accept, decoder, doEncode, encoder, ensureNullable, getDecodeType, getEncodeType, isInlineMethods inherited from class io.activej.serializer.AbstractSerializerDef
getVersionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.serializer.SerializerDef
defineDecoder, defineEncoder, getVersions
-
Constructor Details
-
SerializerDefList
-
-
Method Details
-
doEnsureNullable
- Overrides:
doEnsureNullablein classSerializerDefRegularCollection
-
doIterate
@NotNull protected @NotNull Expression doIterate(Expression collection, UnaryOperator<Expression> action) - Overrides:
doIteratein classSerializerDefRegularCollection
-
doDecode
@NotNull protected @NotNull Expression doDecode(SerializerDef.StaticDecoders staticDecoders, Expression in, int version, CompatibilityLevel compatibilityLevel, Expression length) - Overrides:
doDecodein classAbstractSerializerDefCollection
-
createBuilder
- Overrides:
createBuilderin classSerializerDefRegularCollection
-
addToBuilder
@NotNull protected @NotNull Expression addToBuilder(Expression array, Expression i, Expression element) - Overrides:
addToBuilderin classSerializerDefRegularCollection
-
build
- Overrides:
buildin classSerializerDefRegularCollection
-