mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
move a bunch of migration-dependent stuff from PsiPackageImpl.processDeclarations() toi MigrationElementFinder
This commit is contained in:
@@ -81,7 +81,7 @@ public abstract class PsiElementFinder {
|
||||
*/
|
||||
@NotNull
|
||||
public PsiPackage[] getSubPackages(@NotNull PsiPackage psiPackage, @NotNull GlobalSearchScope scope) {
|
||||
return new PsiPackage[0];
|
||||
return PsiPackage.EMPTY_ARRAY;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,6 +26,8 @@ import org.jetbrains.annotations.Nullable;
|
||||
* Represents a Java package.
|
||||
*/
|
||||
public interface PsiPackage extends PsiCheckedRenameElement, NavigationItem, PsiModifierListOwner, PsiDirectoryContainer, PsiQualifiedNamedElement {
|
||||
PsiPackage[] EMPTY_ARRAY = new PsiPackage[0];
|
||||
|
||||
/**
|
||||
* Returns the full-qualified name of the package.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user