boolean (@NotNull PsiJavaCodeReferenceElement place) { PsiElement qualifier = place.getQualifier(); if (qualifier == null) return true; if (!(qualifier instanceof PsiJavaCodeReferenceElement)) return false; PsiElement q = ((PsiReference)qualifier).resolve(); if (q instanceof PsiClass) return false; if (q != null) return true; String qname = ((PsiJavaCodeReferenceElement)qualifier).getQualifiedName(); return qname == null || !Character.isLowerCase(qname.charAt(0)); }