}
}
public StatementExecutionBasicProcessor createExecutionProcessor(ExecutablePsiElement executablePsiElement) {
synchronized(executionProcessors) {
StatementExecutionBasicProcessor executionProcessor =
executablePsiElement.isQuery() ?
new StatementExecutionCursorProcessor(executablePsiElement, getNextSequence()) :
new StatementExecutionBasicProcessor(executablePsiElement, getNextSequence());
executionProcessors.add(executionProcessor);
cleanup();
return executionProcessor;
}
}