@Override
  public String getQualifiedName(RefEntity refEntity) {
    if (refEntity == null || refEntity instanceof RefElementImpl && !refEntity.isValid()) {
      return AnalysisBundle.message("inspection.reference.invalid");
    }

    return refEntity.getQualifiedName();
  }
@Override
  public String getQualifiedName(RefEntity refEntity)