void (final Element element) { final LwContainer parent = getParent(); if(parent == null){ throw new IllegalStateException("component must be in LW tree: "+this); } parent.readConstraintsForChild(element, this); }