void (String dirty) { List<String> queries = Arrays.asList("select s from Sample s", "select s from Sample s where s.color = 'red'", dirty); for (String query : queries) { sink(<warning descr="Unknown string is used as safe parameter">query</warning>); } }