this.phases.add(phase);
}
ClassMethod[] rollbacks = desc.getMethods(LifecycleRollback.class);
for (ClassMethod method : rollbacks) {
LifecycleRollback lr = method.getAnnotation(LifecycleRollback.class);
if (lr.value().length == 0) this.rollbacks.put(null, method);
else for (PhaseType type : lr.value()) {
this.rollbacks.put(type, method);
}
}
Collections.sort(phases);