StatementFilterVersion statementFilterVersion = new StatementFilterVersion();
AnnotationAnalysisResult annotationData = AnnotationAnalysisResult.analyzeAnnotations(annotations);
EPStatementHandle epStatementHandle = new EPStatementHandle(statementId, statementName, expression, statementResourceLock, expression, hasVariables, stmtMetric, annotationData.getPriority(), annotationData.isPremptive(), statementFilterVersion);
MethodResolutionService methodResolutionService = new MethodResolutionServiceImpl(engineServices.getEngineImportService(), engineServices.getSchedulingService());
PatternContextFactory patternContextFactory = new PatternContextFactoryDefault();
ViewResolutionService viewResolutionService = new ViewResolutionServiceImpl(viewClasses, optionalCreateNamedWindowName);
PatternObjectResolutionService patternResolutionService = new PatternObjectResolutionServiceImpl(patternObjectClasses);