code: private void addConstructorByKey() {
      context.constructorByKey = MethodSpec.constructorBuilder().addParameter(keySpec);
      context.constructorByKey.addParameter(keyRefQueueSpec);
      addCommonParameters(context.constructorByKey);
      if (isBaseClass()) {
        callSiblingConstructor();
      } else {
        callParentByKey();
      }
    }
docs: Adds the constructor by key to the node type.