void (final PsiElement element, final String s, final int offset, List<? super PsiReference> list) { PsiReference[] references = REFERENCE_PROVIDER.getReferencesByString(s, element, offset); list.addAll(Arrays.asList(references)); }