private void registerSuperConstructor(@Nullable PsiClass aClass) {
      if (aClass == null) return;
      PsiClass baseClass = aClass.getSuperClass();
      if (baseClass == null) return;
      PsiMethod[] constructors = baseClass.getConstructors();
      if (constructors.length == 0) return;

      PsiElement resolved = JavaResolveUtil.resolveImaginarySuperCallInThisPlace(aClass, aClass.getProject(), baseClass);
      if (resolved instanceof PsiMethod constructor) {
        registerLocallyReferenced(constructor);
      }
    }
private void registerSuperConstructor(@Nullable PsiClass aClass)