code: @Deprecated private void generateColumnIndexCode(MethodSpec.Builder builder,
        Collection<ColumnAnnotateable> elements, String cursorVarName,
        String throwOnIndexNotFoundVarName) {
  
      for (ColumnAnnotateable e : elements) {
        builder.addStatement("int $LIndex", e.getColumnName());
      }
  
      builder.beginControlFlow("if ($L)", throwOnIndexNotFoundVarName);
      for (ColumnAnnotateable e : elements) {
        builder.addStatement("$LIndex = $L.getColumnIndexOrThrow($S)", e.getColumnName(),
            cursorVarName, e.getColumnName());
      }
      builder.nextControlFlow("else");
      for (ColumnAnnotateable e : elements) {
        builder.addStatement("$LIndex = $L.getColumnIndex($S)", e.getColumnName(), cursorVarName,
            e.getColumnName());
      }
      builder.endControlFlow();
    }
docs: Generate the code statements to retrieve the index for the given column names:
  Basically it writes <i>getColumnIndex</i> or <i>getColumnIndexOrThrow</i> statements.
  
  @param builder The builder
  @param elements the {@link ColumnAnnotateable}s
  @param cursorVarName The variable name of the cursor
  @param throwOnIndexNotFoundVarName The variable name of the boolean variable to check if
  <i>getColumnIndexOrThrow</i> should be used