XmlJavaTypeAdapter xjta = tr.get(XmlJavaTypeAdapter.class);
Adapter<Type,Class> a=null;
XmlList xl = tr.get(XmlList.class);
// eventually compute the in-memory type
Class erasedType = nav.erasure(tr.type);
if(xjta!=null) {
a = new Adapter<Type,Class>(xjta.value(),nav);
}
if(tr.get(XmlAttachmentRef.class)!=null) {