String (@NotNull final PsiElement element, @NotNull final String newName, final boolean nonJava) { if (nonJava && element instanceof PsiField field) { PsiClass containingClass = field.getContainingClass(); if (containingClass != null) { String qualifiedName = containingClass.getQualifiedName(); if (qualifiedName != null) { return StringUtil.getQualifiedName(qualifiedName, newName); } } } return null; }