private static boolean isVariableTypeWithRename(ThenElse thenElse, CommonPartType type) {
      return (type == CommonPartType.WITH_VARIABLES_EXTRACT || type == CommonPartType.VARIABLES_ONLY) && thenElse.variableRenameRequired();
    }
private static boolean isVariableTypeWithRename(ThenElse thenElse, CommonPartType type)