DuplicatesFinder (@NotNull PsiCodeBlock catchBlock, @NotNull PsiParameter parameter) { final InputVariables inputVariables = new InputVariables(Collections.singletonList(parameter), parameter.getProject(), new LocalSearchScope(catchBlock), false, Collections.emptySet()); return new DuplicatesFinder(new PsiElement[]{catchBlock}, inputVariables, null, Collections.emptyList()); }