Component c = getComponent(); p.getContainer().add(c);
Container c = getContainer(); if (c != null) { if (interceptor == null) {  Component created = createComponent(); if (created != null) { comp = created; interceptor = new Interceptor(comp); } } if (interceptor != null) {  if (interceptor.getParent() == null) c.add(interceptor, this); } }
  private void setParentImpl(View p)  {    super.setParent(p);    if (p != null)    {        Component c = getComponent();        p.getContainer().add(c);    }    else    {        Component c = getComponent();        Container parent = c.getParent();        parent.remove(c);        comp = null;      }    }