private void checkCanBeChainedConstructor() {
    if (!(myCodeFragmentMember instanceof PsiMethod method)) {
      return;
    }
    if (!method.isConstructor() || !PsiTypes.voidType().equals(myReturnType)) {
      return;
    }
    final PsiCodeBlock body = method.getBody();
    if (body == null) return;
    final PsiStatement[] psiStatements = body.getStatements();
    if (psiStatements.length > 0 && myElements [0] == psiStatements [0]) {
      myCanBeChainedConstructor = true;
    }
  }
private void checkCanBeChainedConstructor()