private static void processDummyConstructor(MethodsProcessor processor, PsiClass aClass) {
    if (aClass instanceof PsiAnonymousClass) return;
    try {
      PsiMethod[] constructors = aClass.getConstructors();
      if (constructors.length != 0) {
        return;
      }
      final PsiElementFactory factory = JavaPsiFacade.getElementFactory(aClass.getProject());
      final PsiMethod dummyConstructor = factory.createConstructor();
      PsiIdentifier nameIdentifier = aClass.getNameIdentifier();
      if (nameIdentifier != null) {
        Objects.requireNonNull(dummyConstructor.getNameIdentifier()).replace(nameIdentifier);
      }
      processor.forceAddResult(dummyConstructor);
    }
    catch (IncorrectOperationException e) {
      LOG.error(e);
    }
  }
private static void processDummyConstructor(MethodsProcessor processor, PsiClass aClass)