mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[java-inspection] IDEA-356474 Support JEP 477: support implicitly imported modules in optimize imports
GitOrigin-RevId: d4fb59ccffbf0a51f97b1ba965f2d0d59834940e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6aaaf0a7ce
commit
7b0eaea1e9
@@ -38,12 +38,14 @@ public interface PsiJavaFile extends PsiImportHolder, PsiClassOwner, AbstractBas
|
||||
|
||||
/**
|
||||
* Returns the array of classes or packages which have been
|
||||
* imported on demand (for example, javax.swing.*)
|
||||
* imported on non-static demand (for example, javax.swing.*)
|
||||
*
|
||||
* @param includeImplicit if true, implicitly imported packages (like java.lang) are included.
|
||||
* @param checkIncludes deprecated, no longer used
|
||||
* @return the array of PsiClass or PsiPackage elements for the imports.
|
||||
* @deprecated please use other methods to check imports, the method doesn't support module imports
|
||||
*/
|
||||
@Deprecated
|
||||
PsiElement @NotNull [] getOnDemandImports(boolean includeImplicit, @Deprecated boolean checkIncludes);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user