for (AnnotatedMethod<?> m : getAnnotatedType().getMethods()) {
if (m.isAnnotationPresent(AfterBegin.class)
|| m.isAnnotationPresent(BeforeCompletion.class)
|| m.isAnnotationPresent(AfterCompletion.class)) {
getAnnotatedType().addAnnotation(new XaCallbackLiteral());
}
}
}