boolean (final PsiScopeProcessor processor, final ResolveState state, final PsiElement place, PsiManager manager) { PsiPackage defaultPackage = JavaPsiFacade.getInstance(manager.getProject()).findPackage(""); if (defaultPackage != null) { if (!defaultPackage.processDeclarations(processor, state, null, place)) return false; } PsiPackage langPackage = JavaPsiFacade.getInstance(manager.getProject()).findPackage(CommonClassNames.DEFAULT_PACKAGE); if (langPackage != null) { if (!langPackage.processDeclarations(processor, state, null, place)) return false; } return true; }