// XXX: annotations in super classes?
AnnotatedTypeImpl<X> typeImpl = (AnnotatedTypeImpl<X>) type;
if (! type.isAnnotationPresent(TransactionAttribute.class)) {
typeImpl.addAnnotation(new TransactionAttributeLiteral(TransactionAttributeType.REQUIRED));
}
javax.ejb.MessageDriven messageDriven
= type.getAnnotation(javax.ejb.MessageDriven.class);