boolean (@NotNull ResolveState state, @NotNull PsiElement place, @NotNull PsiScopeProcessor processor) { processor.handleEvent(JavaScopeProcessorEvent.SET_CURRENT_FILE_CONTEXT, null); for (PsiJavaCodeReferenceElement aImplicitlyImported : getImplicitlyImportedPackageReferences()) { PsiElement resolved = aImplicitlyImported.resolve(); if (resolved != null) { if (!processOnDemandTarget(resolved, state, place, processor)) return false; } } return true; }