mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
IDEA-367535 add docs for PsiPackage#findClassByShortName and its impl
GitOrigin-RevId: 2a0aee458ece289d1d306ad9ce9f81d6b7ef332b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7429c6c37a
commit
3db4905b69
@@ -121,6 +121,15 @@ public interface PsiPackage extends PsiCheckedRenameElement, NavigationItem, Psi
|
||||
|
||||
boolean containsClassNamed(@NotNull String shortName);
|
||||
|
||||
/**
|
||||
* Returns classes with short name {@code shortName} in {@code scope}.
|
||||
* NOTE that the result CAN contain classes outside the scope.
|
||||
*
|
||||
* @param shortName short name of the classes to find.
|
||||
* @param scope scope to limit the query to, though the result can contain classes outside the scope.
|
||||
*
|
||||
* @return the array of classes with the specified short name.
|
||||
*/
|
||||
PsiClass @NotNull [] findClassByShortName(@NotNull String shortName, @NotNull GlobalSearchScope scope);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user