mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
cleanup, notnull
GitOrigin-RevId: b7848936a122cf853694601e011a3aa32c4a581a
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3f93cc1bed
commit
4fe016c3f6
@@ -24,6 +24,7 @@ import com.intellij.psi.PsiPackage;
|
||||
import com.intellij.usageView.UsageInfo;
|
||||
import com.intellij.util.IncorrectOperationException;
|
||||
import com.intellij.util.containers.MultiMap;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.Collection;
|
||||
@@ -50,10 +51,11 @@ public interface MoveDestination {
|
||||
*/
|
||||
PsiDirectory getTargetDirectory(PsiFile source) throws IncorrectOperationException;
|
||||
|
||||
@NotNull
|
||||
PackageWrapper getTargetPackage();
|
||||
|
||||
PsiDirectory getTargetIfExists(PsiDirectory source);
|
||||
PsiDirectory getTargetIfExists(PsiFile source);
|
||||
PsiDirectory getTargetIfExists(@NotNull PsiFile source);
|
||||
|
||||
@Nullable
|
||||
String verify(PsiFile source);
|
||||
@@ -62,7 +64,7 @@ public interface MoveDestination {
|
||||
@Nullable
|
||||
String verify(PsiPackage source);
|
||||
|
||||
void analyzeModuleConflicts(final Collection<PsiElement> elements, MultiMap<PsiElement,String> conflicts, final UsageInfo[] usages);
|
||||
void analyzeModuleConflicts(@NotNull Collection<? extends PsiElement> elements, @NotNull MultiMap<PsiElement,String> conflicts, final UsageInfo[] usages);
|
||||
|
||||
boolean isTargetAccessible(Project project, VirtualFile place);
|
||||
boolean isTargetAccessible(@NotNull Project project, @NotNull VirtualFile place);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user