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