AbstractQualifiedReference () { final PsiElement refElement = resolve(); if (refElement instanceof PsiClass) { final PsiQualifiedReference reference = JavaReferenceAdjuster.getClassReferenceToShorten((PsiClass)refElement, false, this); if (reference instanceof AbstractQualifiedReference) { ((AbstractQualifiedReference<?>)reference).dequalify(); } } return this; }