* @param clazz the class to search
* @param actions the set of actions to add to
* @return the actions for the class
*/
private void getActions(Class clazz, Set<Action> actions) {
Actions classActions = (Actions) clazz.getAnnotation(Actions.class);
if (classActions != null) {
for (Class ac : classActions.value()) {
actions.add(Action.getInstance(ac));
}
}
// search the superclass for any actions