void (@NotNull PsiReference reference, @NotNull PsiClass targetClass) { final PsiFile file = reference.getElement().getContainingFile(); super.bindReference(reference, targetClass); final String qualifiedName = targetClass.getQualifiedName(); if (qualifiedName != null) { final String shortName = StringUtil.getShortName(qualifiedName); JavaFxPsiUtil.insertImportWhenNeeded((XmlFile)file, shortName, qualifiedName); } }