... injected.giveSql("select * from rubbish.t2 where " + 0 + " < id"); ...
See that reference to "id" column is resolved. Change code to:
... int[] vai = new int[] { 0, 1, 2}; injected.giveSql("select * from rubbish.t2 where " + vai[0] + " < id"); ...
See that syntax highlighting is still here, but reference to "id" is not resolved.