@Nullable final String path) {
final PsiManager manager = PsiManager.getInstance(project);
final String actionClassQualifiedName = actionClass.getQualifiedName();
assert actionClassQualifiedName != null;
final PackageWrapper targetPackage =
new PackageWrapper(manager, StringUtil.getPackageName(actionClassQualifiedName));
final Module module = ModuleUtilCore.findModuleForPsiElement(actionClass);
assert module != null;
final List<VirtualFile> sourceRoots = ModuleRootManager.getInstance(module).getSourceRoots(JavaModuleSourceRootTypes.PRODUCTION);
final VirtualFile sourceRoot = sourceRoots.size() == 1 ? sourceRoots.get(0) :