void (final PsiFile psiFile, final PsiElement context) { if (context != null) { setFileContext(psiFile, SmartPointerManager.getInstance(context.getProject()).createSmartPsiElementPointer(context)); } }