protected List<PsiElement> getDefaultPackages(PsiElement position) {
List<PsiElement> cachedPackages = myDefaultPackageContent.get();
if (cachedPackages == null) {
final List<PsiElement> psiPackages = new ArrayList<PsiElement>();
final PsiManager manager = position.getManager();
final BaseScopeProcessor processor = new BaseScopeProcessor() {
public boolean execute(PsiElement element, PsiSubstitutor substitutor) {
psiPackages.add(element);
return true;
}
};