IDEADEV-41628 Add default Language Injection entry for iBatis 3
[fedora-idea.git] / plugins / IntelliLang / src / LanguageInjectionConfiguration.xml
blob4c23fd35bbd575a395dff91243df4dee1c95a33c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <component name="LanguageInjectionConfiguration">
3   <injection language="SQL" injector-id="groovy">
4     <display-name>Connection (java.sql)</display-name>
5     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("nativeSQL").withParameters("java.lang.String").definedInClass("java.sql.Connection"))]]></place>
6     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareCall").withParameters("java.lang.String").definedInClass("java.sql.Connection"))]]></place>
7     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareCall").withParameters("java.lang.String", "int", "int").definedInClass("java.sql.Connection"))]]></place>
8     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareCall").withParameters("java.lang.String", "int", "int", "int").definedInClass("java.sql.Connection"))]]></place>
9     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String").definedInClass("java.sql.Connection"))]]></place>
10     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int").definedInClass("java.sql.Connection"))]]></place>
11     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int", "int").definedInClass("java.sql.Connection"))]]></place>
12     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int", "int", "int").definedInClass("java.sql.Connection"))]]></place>
13     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int[]").definedInClass("java.sql.Connection"))]]></place>
14     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "java.lang.String[]").definedInClass("java.sql.Connection"))]]></place>
15   </injection>
16   <injection language="SQL" injector-id="groovy">
17     <display-name>Statement (java.sql)</display-name>
18     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("addBatch").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
19     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("execute").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
20     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("execute").withParameters("java.lang.String", "int").definedInClass("java.sql.Statement"))]]></place>
21     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("execute").withParameters("java.lang.String", "int[]").definedInClass("java.sql.Statement"))]]></place>
22     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("execute").withParameters("java.lang.String", "java.lang.String[]").definedInClass("java.sql.Statement"))]]></place>
23     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("executeQuery").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
24     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
25     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String", "int").definedInClass("java.sql.Statement"))]]></place>
26     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String", "int[]").definedInClass("java.sql.Statement"))]]></place>
27     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String", "java.lang.String[]").definedInClass("java.sql.Statement"))]]></place>
28   </injection>
29   <injection language="SQL" injector-id="groovy">
30     <display-name>groovy.sql.Sql</display-name>
31     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("eachRow").definedInClass("groovy.sql.Sql"))]]></place>
32     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("execute").definedInClass("groovy.sql.Sql"))]]></place>
33     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("executeInsert").definedInClass("groovy.sql.Sql"))]]></place>
34     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("executeUpdate").definedInClass("groovy.sql.Sql"))]]></place>
35     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("firstRow").definedInClass("groovy.sql.Sql"))]]></place>
36     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("query").definedInClass("groovy.sql.Sql"))]]></place>
37     <place><![CDATA[groovyElement().methodCallParameter(0, psiMethod().withName("rows").definedInClass("groovy.sql.Sql"))]]></place>
38   </injection>
39   <injection language="SQL" injector-id="java">
40     <display-name>BatchSqlUpdate (org.springframework.jdbc.object)</display-name>
41     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("BatchSqlUpdate").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.BatchSqlUpdate"))]]></place>
42     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("BatchSqlUpdate").withParameters("javax.sql.DataSource", "java.lang.String", "int[]").definedInClass("org.springframework.jdbc.object.BatchSqlUpdate"))]]></place>
43     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("BatchSqlUpdate").withParameters("javax.sql.DataSource", "java.lang.String", "int[]", "int").definedInClass("org.springframework.jdbc.object.BatchSqlUpdate"))]]></place>
44   </injection>
45   <injection language="SQL" injector-id="java">
46     <display-name>Connection (java.sql)</display-name>
47     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("nativeSQL").withParameters("java.lang.String").definedInClass("java.sql.Connection"))]]></place>
48     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareCall").withParameters("java.lang.String").definedInClass("java.sql.Connection"))]]></place>
49     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareCall").withParameters("java.lang.String", "int", "int").definedInClass("java.sql.Connection"))]]></place>
50     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareCall").withParameters("java.lang.String", "int", "int", "int").definedInClass("java.sql.Connection"))]]></place>
51     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String").definedInClass("java.sql.Connection"))]]></place>
52     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int").definedInClass("java.sql.Connection"))]]></place>
53     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int", "int").definedInClass("java.sql.Connection"))]]></place>
54     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int", "int", "int").definedInClass("java.sql.Connection"))]]></place>
55     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "int[]").definedInClass("java.sql.Connection"))]]></place>
56     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("prepareStatement").withParameters("java.lang.String", "java.lang.String[]").definedInClass("java.sql.Connection"))]]></place>
57   </injection>
58   <injection language="SQL" injector-id="java">
59     <display-name>EntityManager.createNativeQuery (javax.persistence)</display-name>
60     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("createNativeQuery").withParameters("java.lang.String").definedInClass("javax.persistence.EntityManager"))]]></place>
61   </injection>
62   <injection language="JPAQL" injector-id="java">
63     <display-name>EntityManager.createQuery (javax.persistence)</display-name>
64     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("createQuery").withParameters("java.lang.String").definedInClass("javax.persistence.EntityManager"))]]></place>
65   </injection>
66   <injection language="HQL" injector-id="java">
67     <display-name>HibernateOperations (org.springframework.orm.hibernate)</display-name>
68     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String").definedInClass("org.springframework.orm.hibernate.HibernateOperations"))]]></place>
69     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String", "java.lang.Object").definedInClass("org.springframework.orm.hibernate.HibernateOperations"))]]></place>
70     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String", "java.lang.Object", "net.sf.hibernate.type.Type").definedInClass("org.springframework.orm.hibernate.HibernateOperations"))]]></place>
71     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.orm.hibernate.HibernateOperations"))]]></place>
72     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String", "java.lang.Object[]", "net.sf.hibernate.type.Type[]").definedInClass("org.springframework.orm.hibernate.HibernateOperations"))]]></place>
73   </injection>
74   <injection language="HQL" injector-id="java">
75     <display-name>HibernateOperations (org.springframework.orm.hibernate3)</display-name>
76     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("bulkUpdate").withParameters("java.lang.String").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
77     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("bulkUpdate").withParameters("java.lang.String", "java.lang.Object").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
78     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("bulkUpdate").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
79     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
80     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String", "java.lang.Object").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
81     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
82     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("findByNamedParam").withParameters("java.lang.String", "java.lang.String", "java.lang.Object").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
83     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("findByNamedParam").withParameters("java.lang.String", "java.lang.String[]", "java.lang.Object[]").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
84     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("findByValueBean").withParameters("java.lang.String", "java.lang.Object").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
85     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("iterate").withParameters("java.lang.String").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
86     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("iterate").withParameters("java.lang.String", "java.lang.Object").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
87     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("iterate").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.orm.hibernate3.HibernateOperations"))]]></place>
88   </injection>
89   <injection language="SQL" injector-id="java">
90     <display-name>JdbcOperations (org.springframework.jdbc.core)</display-name>
91     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("batchUpdate").withParameters("java.lang.String", "org.springframework.jdbc.core.BatchPreparedStatementSetter").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
92     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("batchUpdate").withParameters("java.lang.String[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
93     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
94     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String", "org.springframework.jdbc.core.PreparedStatementCallback").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
95     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "java.lang.Object[]", "int[]", "org.springframework.jdbc.core.ResultSetExtractor").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
96     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "java.lang.Object[]", "int[]", "org.springframework.jdbc.core.RowCallbackHandler").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
97     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "java.lang.Object[]", "int[]", "org.springframework.jdbc.core.RowMapper").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
98     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "java.lang.Object[]", "org.springframework.jdbc.core.ResultSetExtractor").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
99     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "java.lang.Object[]", "org.springframework.jdbc.core.RowCallbackHandler").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
100     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "java.lang.Object[]", "org.springframework.jdbc.core.RowMapper").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
101     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "org.springframework.jdbc.core.PreparedStatementSetter", "org.springframework.jdbc.core.ResultSetExtractor").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
102     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "org.springframework.jdbc.core.PreparedStatementSetter", "org.springframework.jdbc.core.RowCallbackHandler").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
103     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "org.springframework.jdbc.core.PreparedStatementSetter", "org.springframework.jdbc.core.RowMapper").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
104     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "org.springframework.jdbc.core.ResultSetExtractor").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
105     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "org.springframework.jdbc.core.RowCallbackHandler").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
106     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "org.springframework.jdbc.core.RowMapper").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
107     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForInt").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
108     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForInt").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
109     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForInt").withParameters("java.lang.String", "java.lang.Object[]", "int[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
110     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForList").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
111     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForList").withParameters("java.lang.String", "java.lang.Class").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
112     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForList").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
113     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForList").withParameters("java.lang.String", "java.lang.Object[]", "int[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
114     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForList").withParameters("java.lang.String", "java.lang.Object[]", "int[]", "java.lang.Class").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
115     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForList").withParameters("java.lang.String", "java.lang.Object[]", "java.lang.Class").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
116     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForLong").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
117     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForLong").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
118     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForLong").withParameters("java.lang.String", "java.lang.Object[]", "int[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
119     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForMap").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
120     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForMap").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
121     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForMap").withParameters("java.lang.String", "java.lang.Object[]", "int[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
122     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "java.lang.Class").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
123     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "java.lang.Object[]", "int[]", "java.lang.Class").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
124     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "java.lang.Object[]", "int[]", "org.springframework.jdbc.core.RowMapper").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
125     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "java.lang.Object[]", "java.lang.Class").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
126     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "java.lang.Object[]", "org.springframework.jdbc.core.RowMapper").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
127     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "org.springframework.jdbc.core.RowMapper").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
128     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForRowSet").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
129     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForRowSet").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
130     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForRowSet").withParameters("java.lang.String", "java.lang.Object[]", "int[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
131     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("update").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
132     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("update").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
133     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("update").withParameters("java.lang.String", "java.lang.Object[]", "int[]").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
134     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("update").withParameters("java.lang.String", "org.springframework.jdbc.core.PreparedStatementSetter").definedInClass("org.springframework.jdbc.core.JdbcOperations"))]]></place>
135   </injection>
136   <injection language="JPAQL" injector-id="java">
137     <display-name>JpaOperations (org.springframework.orm.jpa)</display-name>
138     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String").definedInClass("org.springframework.orm.jpa.JpaOperations"))]]></place>
139     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("find").withParameters("java.lang.String", "java.lang.Object...").definedInClass("org.springframework.orm.jpa.JpaOperations"))]]></place>
140     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("findByNamedParams").withParameters("java.lang.String", "java.util.Map").definedInClass("org.springframework.orm.jpa.JpaOperations"))]]></place>
141   </injection>
142   <injection language="SQL" injector-id="java">
143     <display-name>MappingSqlQuery.MappingSqlQuery (org.springframework.jdbc.object)</display-name>
144     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("MappingSqlQuery").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.MappingSqlQuery"))]]></place>
145   </injection>
146   <injection language="SQL" injector-id="java">
147     <display-name>MappingSqlQueryWithParameters.MappingSqlQueryWithParameters (org.springframework.jdbc.object)</display-name>
148     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("MappingSqlQueryWithParameters").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.MappingSqlQueryWithParameters"))]]></place>
149   </injection>
150   <injection language="SQL" injector-id="java">
151     <display-name>NamedNativeQuery.query (javax.persistence)</display-name>
152     <place><![CDATA[psiMethod().withName("query").withParameters().definedInClass("javax.persistence.NamedNativeQuery")]]></place>
153   </injection>
154   <injection language="JPAQL" injector-id="java">
155     <display-name>NamedQuery.query (javax.persistence)</display-name>
156     <place><![CDATA[psiMethod().withName("query").withParameters().definedInClass("javax.persistence.NamedQuery")]]></place>
157   </injection>
158   <injection language="XPath" injector-id="java">
159     <display-name>Node.createXPath (org.dom4j)</display-name>
160     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("createXPath").withParameters("java.lang.String").definedInClass("org.dom4j.Node"))]]></place>
161   </injection>
162   <injection language="XPath" injector-id="java">
163     <display-name>Node.selectNodes (org.dom4j)</display-name>
164     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("selectNodes").withParameters("java.lang.String").definedInClass("org.dom4j.Node"))]]></place>
165   </injection>
166   <injection language="XPath" injector-id="java">
167     <display-name>Node.selectSingleNode (org.dom4j)</display-name>
168     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("selectSingleNode").withParameters("java.lang.String").definedInClass("org.dom4j.Node"))]]></place>
169   </injection>
170   <injection language="RegExp" injector-id="java">
171     <display-name>Path.value (javax.ws.rs)</display-name>
172     <value-pattern>[^:]*:[\s]*([^\}]*)</value-pattern>
173     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("value").withParameters().definedInClass("javax.ws.rs.Path"))]]></place>
174   </injection>
175   <injection language="XPath" injector-id="xml">
176     <display-name>JAXB attribute node</display-name>
177     <place><![CDATA[xmlAttribute().withLocalName(string().matches("node")).inside(xmlTag().withLocalName(string().matches("bindings")).withNamespace(string().matches("http://java.sun.com/xml/ns/jaxb")))]]></place>
178   </injection>
179   <injection language="RegExp" injector-id="java">
180     <display-name>Pattern (java.util.regex)</display-name>
181     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("compile").withParameters("java.lang.String").definedInClass("java.util.regex.Pattern"))]]></place>
182     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("compile").withParameters("java.lang.String", "int").definedInClass("java.util.regex.Pattern"))]]></place>
183     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("matches").withParameters("java.lang.String", "java.lang.CharSequence").definedInClass("java.util.regex.Pattern"))]]></place>
184   </injection>
185   <injection language="RegExp" injector-id="java">
186     <display-name>Pattern.regexp (javax.validation.constraints)</display-name>
187     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("regexp").withParameters().definedInClass("javax.validation.constraints.Pattern"))]]></place>
188   </injection>
189   <injection language="SQL" injector-id="java">
190     <display-name>RdbmsOperation.setSql (org.springframework.jdbc.object)</display-name>
191     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("setSql").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.object.RdbmsOperation"))]]></place>
192   </injection>
193   <injection language="HQL" injector-id="java">
194     <display-name>Session.createQuery (org.hibernate)</display-name>
195     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("createQuery").withParameters("java.lang.String").definedInClass("org.hibernate.Session"))]]></place>
196   </injection>
197   <injection language="SQL" injector-id="java">
198     <display-name>Session.createSQLQuery (org.hibernate)</display-name>
199     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("createSQLQuery").withParameters("java.lang.String").definedInClass("org.hibernate.Session"))]]></place>
200   </injection>
201   <injection language="SQL" injector-id="java">
202     <display-name>SimpleJdbcOperations (org.springframework.jdbc.core.simple)</display-name>
203     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("query").withParameters("java.lang.String", "org.springframework.jdbc.core.simple.ParameterizedRowMapper<T>", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
204     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForInt").withParameters("java.lang.String", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
205     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForList").withParameters("java.lang.String", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
206     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForLong").withParameters("java.lang.String", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
207     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForMap").withParameters("java.lang.String", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
208     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "java.lang.Class<T>", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
209     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("queryForObject").withParameters("java.lang.String", "org.springframework.jdbc.core.simple.ParameterizedRowMapper<T>", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
210     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("update").withParameters("java.lang.String", "java.lang.Object...").definedInClass("org.springframework.jdbc.core.simple.SimpleJdbcOperations"))]]></place>
211   </injection>
212   <injection language="SQL" injector-id="java">
213     <display-name>SqlCall.SqlCall (org.springframework.jdbc.object)</display-name>
214     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlCall").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.SqlCall"))]]></place>
215   </injection>
216   <injection language="SQL" injector-id="java">
217     <display-name>SqlFunction (org.springframework.jdbc.object)</display-name>
218     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlFunction").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.SqlFunction"))]]></place>
219     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlFunction").withParameters("javax.sql.DataSource", "java.lang.String", "int[]").definedInClass("org.springframework.jdbc.object.SqlFunction"))]]></place>
220     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlFunction").withParameters("javax.sql.DataSource", "java.lang.String", "int[]", "java.lang.Class").definedInClass("org.springframework.jdbc.object.SqlFunction"))]]></place>
221   </injection>
222   <injection language="SQL" injector-id="java">
223     <display-name>SqlOperation.newPreparedStatementCreator (org.springframework.jdbc.object)</display-name>
224     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("newPreparedStatementCreator").withParameters("java.lang.String", "java.lang.Object[]").definedInClass("org.springframework.jdbc.object.SqlOperation"))]]></place>
225   </injection>
226   <injection language="SQL" injector-id="java">
227     <display-name>SqlQuery (org.springframework.jdbc.object)</display-name>
228     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String").definedInClass("org.springframework.jdbc.object.SqlQuery"))]]></place>
229     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String", "java.util.Map").definedInClass("org.springframework.jdbc.object.SqlQuery"))]]></place>
230     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlQuery").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.SqlQuery"))]]></place>
231   </injection>
232   <injection language="SQL" injector-id="java">
233     <display-name>SqlUpdate (org.springframework.jdbc.object)</display-name>
234     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlUpdate").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.SqlUpdate"))]]></place>
235     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlUpdate").withParameters("javax.sql.DataSource", "java.lang.String", "int[]").definedInClass("org.springframework.jdbc.object.SqlUpdate"))]]></place>
236     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("SqlUpdate").withParameters("javax.sql.DataSource", "java.lang.String", "int[]", "int").definedInClass("org.springframework.jdbc.object.SqlUpdate"))]]></place>
237   </injection>
238   <injection language="SQL" injector-id="java">
239     <display-name>Statement (java.sql)</display-name>
240     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("addBatch").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
241     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
242     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String", "int").definedInClass("java.sql.Statement"))]]></place>
243     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String", "int[]").definedInClass("java.sql.Statement"))]]></place>
244     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("execute").withParameters("java.lang.String", "java.lang.String[]").definedInClass("java.sql.Statement"))]]></place>
245     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("executeQuery").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
246     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String").definedInClass("java.sql.Statement"))]]></place>
247     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String", "int").definedInClass("java.sql.Statement"))]]></place>
248     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String", "int[]").definedInClass("java.sql.Statement"))]]></place>
249     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("executeUpdate").withParameters("java.lang.String", "java.lang.String[]").definedInClass("java.sql.Statement"))]]></place>
250   </injection>
251   <injection language="RegExp" injector-id="java">
252     <display-name>String (java.lang)</display-name>
253     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("replaceAll").withParameters("java.lang.String", "java.lang.String").definedInClass("java.lang.String"))]]></place>
254     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("replaceFirst").withParameters("java.lang.String", "java.lang.String").definedInClass("java.lang.String"))]]></place>
255     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("split").withParameters("java.lang.String").definedInClass("java.lang.String"))]]></place>
256     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("split").withParameters("java.lang.String", "int").definedInClass("java.lang.String"))]]></place>
257   </injection>
258   <injection language="SQL" injector-id="java">
259     <display-name>UpdatableSqlQuery.UpdatableSqlQuery (org.springframework.jdbc.object)</display-name>
260     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("UpdatableSqlQuery").withParameters("javax.sql.DataSource", "java.lang.String").definedInClass("org.springframework.jdbc.object.UpdatableSqlQuery"))]]></place>
261   </injection>
262   <injection language="XPath" injector-id="java">
263     <display-name>XPath (javax.xml.xpath)</display-name>
264     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("compile").withParameters("java.lang.String").definedInClass("javax.xml.xpath.XPath"))]]></place>
265     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("evaluate").withParameters("java.lang.String", "java.lang.Object").definedInClass("javax.xml.xpath.XPath"))]]></place>
266     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("evaluate").withParameters("java.lang.String", "java.lang.Object", "javax.xml.namespace.QName").definedInClass("javax.xml.xpath.XPath"))]]></place>
267     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("evaluate").withParameters("java.lang.String", "org.xml.sax.InputSource").definedInClass("javax.xml.xpath.XPath"))]]></place>
268     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("evaluate").withParameters("java.lang.String", "org.xml.sax.InputSource", "javax.xml.namespace.QName").definedInClass("javax.xml.xpath.XPath"))]]></place>
269   </injection>
270   <injection language="XPath" injector-id="java">
271     <display-name>XPath (org.jdom.xpath)</display-name>
272     <place><![CDATA[psiParameter().ofMethod(0, psiMethod().withName("newInstance").withParameters("java.lang.String").definedInClass("org.jdom.xpath.XPath"))]]></place>
273     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("selectNodes").withParameters("java.lang.Object", "java.lang.String").definedInClass("org.jdom.xpath.XPath"))]]></place>
274     <place><![CDATA[psiParameter().ofMethod(1, psiMethod().withName("selectSingleNode").withParameters("java.lang.Object", "java.lang.String").definedInClass("org.jdom.xpath.XPath"))]]></place>
275   </injection>
276   <injection language="JavaScript" injector-id="xml">
277     <display-name>*/@href</display-name>
278     <value-pattern>^javascript:(.+)</value-pattern>
279     <place><![CDATA[xmlAttribute().withLocalName(string().matches("href")).inside(xmlTag().withNamespace(string().matches("http://www.w3.org/1999/xhtml")))]]></place>
280   </injection>
281   <injection language="JavaScript" injector-id="xml">
282     <display-name>*/@on.*</display-name>
283     <place><![CDATA[xmlAttribute().withLocalName(string().matches("on.*")).inside(xmlTag().withNamespace(string().matches("http://www.w3.org/1999/xhtml")))]]></place>
284   </injection>
285   <injection language="CSS" injector-id="xml">
286     <display-name>*/@style</display-name>
287     <prefix>dummy_selector {</prefix>
288     <suffix>}</suffix>
289     <place><![CDATA[xmlAttribute().withLocalName(string().matches("style")).inside(xmlTag().withNamespace(string().matches("http://www.w3.org/1999/xhtml")))]]></place>
290   </injection>
291   <injection language="EJBQL" injector-id="xml">
292     <display-name>ejb-ql</display-name>
293     <place><![CDATA[xmlTag().withLocalName(string().matches("ejb-ql")).withNamespace(string().matches("http://java.sun.com/dtd/ejb-jar_2_0.dtd|http://java.sun.com/j2ee/dtds/ejb-jar_1_0.dtd|http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd|http://java.sun.com/xml/ns/j2ee|http://java.sun.com/xml/ns/javaee"))]]></place>
294   </injection>
295   <injection language="EJBQL" injector-id="xml">
296     <display-name>ejbql</display-name>
297     <place><![CDATA[xmlTag().withLocalName(string().matches("ejbql")).withNamespace(string().matches("http://jboss.com/products/seam/framework"))]]></place>
298   </injection>
299   <injection language="RegExp" injector-id="xml">
300     <display-name>element</display-name>
301     <value-pattern>(.+)</value-pattern>
302     <place><![CDATA[xmlTag().withLocalName(string().matches("element")).withNamespace(string().matches("http://jboss.org/xml/ns/javax/validation/mapping"))]]></place>
303     <xpath-condition>@name='regexp'</xpath-condition>
304   </injection>
305   <injection language="EJBQL" injector-id="xml">
306     <display-name>entity-query/@ejbql</display-name>
307     <place><![CDATA[xmlAttribute().withLocalName(string().matches("ejbql")).inside(xmlTag().withLocalName(string().matches("entity-query")).withNamespace(string().matches("http://jboss.com/products/seam/framework")))]]></place>
308   </injection>
309   <injection language="SQL" injector-id="xml">
310     <display-name>mapped-statement</display-name>
311     <place><![CDATA[xmlTag().withLocalName(string().matches("mapped-statement")).withNamespace(string().matches("http://www.ibatis.com/dtd/sql-map.dtd"))]]></place>
312   </injection>
313   <injection language="XPath" injector-id="xml">
314     <display-name>out|if|forEach|set|when/@select</display-name>
315     <place><![CDATA[xmlAttribute().withLocalName(string().matches("select")).inside(xmlTag().withLocalName(string().matches("out|if|forEach|set|when")).withNamespace(string().matches("http://java.sun.com/jsp/jstl/xml")))]]></place>
316   </injection>
317   <injection language="HQL" injector-id="xml">
318     <display-name>query</display-name>
319     <place><![CDATA[xmlTag().withLocalName(string().matches("query")).withNamespace(string().matches("http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"))]]></place>
320   </injection>
321   <injection language="JPAQL" injector-id="xml">
322     <display-name>query</display-name>
323     <place><![CDATA[xmlTag().withLocalName(string().matches("query")).withNamespace(string().matches("http://java.sun.com/xml/ns/persistence/orm"))]]></place>
324   </injection>
325   <injection language="SQL" injector-id="xml">
326     <display-name>query|update/@sql</display-name>
327     <place><![CDATA[xmlAttribute().withLocalName(string().matches("sql")).inside(xmlTag().withLocalName(string().matches("query|update")).withNamespace(string().matches("http://java.sun.com/jsp/jstl/sql")))]]></place>
328   </injection>
329   <injection language="JavaScript" injector-id="xml">
330     <display-name>script</display-name>
331     <place><![CDATA[xmlTag().withLocalName(string().matches("script")).withNamespace(string().matches("http://www.w3.org/1999/xhtml"))]]></place>
332   </injection>
333   <injection language="SQL" injector-id="xml">
334     <display-name>sql|select|insert|update|delete|statement</display-name>
335     <place><![CDATA[xmlTag().withLocalName(string().matches("sql|select|insert|update|delete|statement")).withNamespace(string().matches("http://ibatis.apache.org/dtd/sql-map-2.dtd"))]]></place>
336     <apply-to-subtags />
337   </injection>
338   <injection language="SQL" injector-id="xml">
339     <display-name>iBatis3: sql|select|insert|update|delete</display-name>
340     <place><![CDATA[xmlTag().withLocalName(string().matches("sql|select|insert|update|delete")).withNamespace(string().matches("http://ibatis.apache.org/dtd/ibatis-3-mapper.dtd"))]]></place>
341     <apply-to-subtags />
342   </injection>
343   <injection language="CSS" injector-id="xml">
344     <display-name>style</display-name>
345     <place><![CDATA[xmlTag().withLocalName(string().matches("style")).withNamespace(string().matches("http://www.w3.org/1999/xhtml"))]]></place>
346     <xpath-condition>lower-case(@type)='text/css'</xpath-condition>
347   </injection>
348   <injection language="TEL" injector-id="xml">
349     <display-name>Bare Tapestry EL in attribute value</display-name>
350     <prefix>${</prefix>
351     <suffix>}</suffix>
352     <place><![CDATA[xmlAttribute().withLocalName(not(string().matches("id|type"))).withText(string().matches("[^${}/\\]+")).inside(xmlTag().withNamespace(string().matches("http://tapestry.apache.org/schema/tapestry_5_1_0.xsd|http://tapestry.apache.org/schema/tapestry_5_0_0.xsd")))]]></place>
353     <place><![CDATA[xmlAttribute().withLocalName(not(string().matches("id|type"))).withText(string().matches("[^${}/\\]+")).withNamespace(string().matches("http://tapestry.apache.org/schema/tapestry_5_1_0.xsd|http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"))]]></place>
354   </injection>
355 </component>