private static void copyImplementsListIfNotReplaced(PsiClass original, PsiClass query, PsiClass replacement) {
    copyReferenceListIfNotReplaced(original.getImplementsList(), query.getImplementsList(), replacement.getImplementsList());
  }
private static void copyImplementsListIfNotReplaced(PsiClass original, PsiClass query, PsiClass replacement)