public CompletionResolveScopeProcessor( @NotNull CSharpResolveOptions options, @NotNull ExecuteTarget[] targets) { myPlace = options.getElement(); Collections.addAll(myElements, options.getAdditionalElements()); myScope = myPlace.getResolveScope(); CSharpContextUtil.ContextType completionContextType = options.getCompletionContextType(); if (completionContextType != null) { myContextType = completionContextType; } else { myContextType = myPlace instanceof CSharpReferenceExpression ? CSharpContextUtil.getParentContextTypeForReference( (CSharpReferenceExpression) myPlace) : CSharpContextUtil.ContextType.ANY; } putUserData(ExecuteTargetUtil.EXECUTE_TARGETS, ExecuteTargetUtil.of(targets)); }