void (Object component, String key, String value) { Object[] definition = getDefinition(component, key, "choice"); String[] values = (String[]) definition[3]; if (setChoice(component, (String) definition[1], value, values, values[0])) { update(component, definition[2]); } }