Tested QL and HQL injected languages like:
List result = em.createQuery("select myIdAnn, myNameAnn from CountryAnn where myIdAnn > 0").getResultList();
(QL) and:
List result = session.createQuery("from CountryAnn").list();
(HQL). You need JPA and Hibernate facets to reproduce.
Make sure you have "Hardcoded string literal" inspection On, and no suppressions in tested class. Warning is shown.
Do Alt+Enter on string values with injected laguages. Get some list of suppressions.
This list does not contain "Suppres for" entries, like plain Strings have.