Is this possible, to suppress checkstyle "Magic number" errors when I try to get specific column from a result set?
To be clear, I have code like this
resultSet.getBigDecimal(1)
or
resultSet.getString(1)
where digit - is the column index in the result set. Can I avoid suppression for that case (not with annotations)?