DuplicatesFinder (PsiElement @NotNull [] elements) { Project project = elements[0].getProject(); InputVariables noVariables = new InputVariables(Collections.emptyList(), project, new LocalSearchScope(elements), false, Collections.emptySet()); return new DuplicatesFinder(elements, noVariables, null, Collections.emptyList()); }