@Override public GenericArraySerializerSnapshot<C> snapshotConfiguration() { return new GenericArraySerializerSnapshot<>(this); } }
@Override public TypeSerializerSchemaCompatibility<C[]> resolveSchemaCompatibility(TypeSerializer<C[]> newSerializer) { checkState(nestedSnapshot != null); if (!(newSerializer instanceof GenericArraySerializer)) { return TypeSerializerSchemaCompatibility.incompatible(); } // delegate to the new snapshot class return CompositeTypeSerializerUtil.delegateCompatibilityCheckToNewSnapshot( newSerializer, new GenericArraySerializerSnapshot<>(componentClass), nestedSnapshot.getNestedSerializerSnapshots()); } }