String[] types = queryDescr.getParameterTypes();
int i = 0;
try {
for ( i = 0; i < params.length; i++ ) {
pattern.addDeclaration( params[i],
new ArrayExtractor( arrayExtractor,
i,
context.getDialect().getTypeResolver().resolveType( types[i] ) ) );
}
} catch ( ClassNotFoundException e ) {
context.getErrors().add( new RuleError( context.getRule(),