final List<ButtonCondAction> actions = new ArrayList<ButtonCondAction>();
if (actionOffset.value() != 0) {
do {
final ButtonCondAction action = ButtonCondActionParser.parse(parser, header, String.format("DefineButton2::ButtonCondAction[%d]", actions.size()));
actions.add(action);
if (action.getCondActionSize().value() == 0) {
break;
}
} while (true);
}