DropContext (PsiElement @Nullable [] sourceElements, @NotNull TreePath target) { PsiElement targetElement = getPsiElement(target); Module targetModule = targetElement == null || !myProject.isInitialized() ? null : getModule(targetElement); return new DropContext(sourceElements, targetElement, targetModule); }