public BindInfo getResult( Object existing ) { if(handler==null) // interface contract violation. // the getContentHandler method must have been called. throw new AssertionError(); try { BindInfo result = (BindInfo)handler.getResult(); if(existing!=null) { BindInfo bie = (BindInfo)existing; bie.absorb(result); return bie; } else { if(!result.isPointless()) return result; // just annotation. no meaningful customization else return null; } } catch (JAXBException e) { throw new AssertionError(e); } } };
public BindInfo getResult( Object existing ) { if(handler==null) // interface contract violation. // the getContentHandler method must have been called. throw new AssertionError(); try { BindInfo result = (BindInfo)handler.getResult(); if(existing!=null) { BindInfo bie = (BindInfo)existing; bie.absorb(result); return bie; } else { if(!result.isPointless()) return result; // just annotation. no meaningful customization else return null; } } catch (JAXBException e) { throw new AssertionError(e); } } };
public BindInfo getResult( Object existing ) { if(handler==null) // interface contract violation. // the getContentHandler method must have been called. throw new AssertionError(); try { BindInfo result = (BindInfo)handler.getResult(); if(existing!=null) { BindInfo bie = (BindInfo)existing; bie.absorb(result); return bie; } else { if(!result.isPointless()) return result; // just annotation. no meaningful customization else return null; } } catch (JAXBException e) { throw new AssertionError(e); } } };
public BindInfo getResult( Object existing ) { if(handler==null) // interface contract violation. // the getContentHandler method must have been called. throw new AssertionError(); try { BindInfo result = (BindInfo)handler.getResult(); if(existing!=null) { BindInfo bie = (BindInfo)existing; bie.absorb(result); return bie; } else { if(!result.isPointless()) return result; // just annotation. no meaningful customization else return null; } } catch (JAXBException e) { throw new AssertionError(e); } } };
public BindInfo getResult( Object existing ) { if(handler==null) // interface contract violation. // the getContentHandler method must have been called. throw new AssertionError(); try { BindInfo result = (BindInfo)handler.getResult(); if(existing!=null) { BindInfo bie = (BindInfo)existing; bie.absorb(result); return bie; } else { if(!result.isPointless()) return result; // just annotation. no meaningful customization else return null; } } catch (JAXBException e) { throw new AssertionError(e); } } };