void (@NotNull PsiElement element, @Nullable String oldQualifiedName) { if (element instanceof PsiClass) { final String newQualifiedName = ((PsiClass)element).getQualifiedName(); if (newQualifiedName != null) { final int idx = entryPointsManager.ADDITIONAL_ANNOTATIONS.indexOf(oldQualifiedName != null ? newQualifiedName : oldName); if (idx > -1) { entryPointsManager.ADDITIONAL_ANNOTATIONS.remove(idx); entryPointsManager.ADDITIONAL_ANNOTATIONS.add(idx, oldQualifiedName != null ? oldQualifiedName : newQualifiedName); } } } }