@Override public boolean replaceChild(Element child, Element by) { if (replaceChild(annotations, Annotation.class, this, child, by)) return true; return super.replaceChild(child, by); }
@Override public boolean replaceChild(Element child, Element by) { if (child == getDefaultValue()) { setDefaultValue((Expression) by); return true; } return super.replaceChild(child, by); }