if (rawTarget.isAssignableFrom(List.class))
<BUG>return Optional.of(new SqlArrayConversion<>(List.class, typeParameter(target), this, Function.identity()));
</BUG>
if (rawTarget.isArray())
<BUG>return Optional.of(new SqlArrayConversion<>(rawTarget, rawTarget.getComponentType(), this, list -> arrayOfType(rawTarget.getComponentType(), list)));
</BUG>
}
return Optional.empty();
}
@NotNull

if (rawTarget.isAssignableFrom(List.class))
return Optional.of(SqlArrayConversion.sqlArray(typeParameter(target), this, Function.identity()));
if (rawTarget.isArray())
return Optional.of(SqlArrayConversion.sqlArray(rawTarget.getComponentType(), this, list -> arrayOfType(rawTarget.getComponentType(), list)));
}
return Optional.empty();
}
@NotNull
