String (final PsiElement element) { if (!(element.getParent() instanceof GrImportStatement importStatement)) return null; if (!importStatement.isAliasedImport()) return null; return importStatement.getImportedName(); }