GrCodeReferenceElement (@NotNull PsiClass aClass) { String qualifiedName = aClass.getQualifiedName(); if (qualifiedName == null) { throw new IncorrectOperationException("cannot create code reference element for class " + aClass.getText()); } return createCodeReference(qualifiedName); }