private Block createAlternatingNullsBlock(Block testBlock)
{
BlockBuilder nullsBlockBuilder = type.createBlockBuilder(new BlockBuilderStatus());
for (int position = 0; position < testBlock.getPositionCount(); position++) {
if (type.getJavaType() == void.class) {
nullsBlockBuilder.appendNull();
}
else if (type.getJavaType() == boolean.class) {
type.writeBoolean(nullsBlockBuilder, type.getBoolean(testBlock, position));
}
else if (type.getJavaType() == long.class) {