@Nullable String getLookupObjectName(Object o) {
      if (o instanceof PsiVariable variable) {
        VariableKind variableKind = myCodeStyleManager.getVariableKind(variable);
        String name = variable.getName();
        return name == null ? null : myCodeStyleManager.variableNameToPropertyName(name, variableKind);
      }
      if (o instanceof PsiMethod method) {
        return method.getName();
      }
      return null;
    }
@Nullable String getLookupObjectName(Object o)