- newCode.add("\t" + STRUCT_NEW_DECLARE_DEFINE(ANNO_HB_INIT,
- structVarName));
- newCode.add("\t" + ASSIGN_TO_PTR(structVarName,
- "interface_num_before", interfaceNumBefore));
- newCode.add("\t" + ASSIGN_TO_PTR(structVarName,
- "hb_condition_num_before", hbLabelNumBefore));
- newCode.add("\t" + ASSIGN_TO_PTR(structVarName, "interface_num_after",
- interfaceNumAfter));
- newCode.add("\t" + ASSIGN_TO_PTR(structVarName,
- "hb_condition_num_after", hbLabelNumAfter));
-
- // newCode.add(STRUCT_NEW_DECLARE_DEFINE(SPEC_ANNOTATION,
- // annotationVarName));
- // newCode.add(ASSIGN_TO_PTR(annotationVarName,
- // SPEC_ANNOTATION_FIELD_TYPE, SPEC_ANNO_TYPE_HB_INIT));
- // newCode.add(ASSIGN_TO_PTR(annotationVarName,
- // SPEC_ANNOTATION_FIELD_ANNO, structVarName));
- // newCode.add(ANNOTATE(annotationVarName));
+ newCode.add("\t"
+ + STRUCT_NEW_DECLARE_DEFINE(ANNO_HB_INIT, structVarName));
+ newCode.add("\t"
+ + ASSIGN_TO_PTR(structVarName, "interface_num_before",
+ interfaceNumBefore)
+ + SHORT_COMMENT(left.interfaceName));
+ newCode.add("\t"
+ + ASSIGN_TO_PTR(structVarName,
+ "hb_condition_num_before", hbLabelNumBefore)
+ + SHORT_COMMENT(left.hbConditionLabel));
+ newCode.add("\t"
+ + ASSIGN_TO_PTR(structVarName, "interface_num_after",
+ interfaceNumAfter)
+ + SHORT_COMMENT(right.interfaceName));
+ newCode.add("\t"
+ + ASSIGN_TO_PTR(structVarName,
+ "hb_condition_num_after", hbLabelNumAfter)
+ + SHORT_COMMENT(right.hbConditionLabel));