/**
  * Possible failures:
  *
  * <ul>
  *   <li>NO_ELEMENTS_TO_PROCESS - the compilation unit supplied to the operation is <code>null
  *       </code>.
  *   <li>INVALID_NAME - no name, a name was null or not a valid name.
  *   <li>INVALID_SIBLING - the sibling provided for positioning is not valid.
  * </ul>
  */
 @Override
 public DartModelStatus verify() {
   if (getParentElement() == null) {
     return new DartModelStatusImpl(DartModelStatusConstants.NO_ELEMENTS_TO_PROCESS);
   }
   if (anchorElement != null) {
     DartElement domPresentParent = anchorElement.getParent();
     // if (domPresentParent.getElementType() == DartElement.IMPORT_CONTAINER)
     // {
     // domPresentParent = domPresentParent.getParent();
     // }
     if (!domPresentParent.equals(getParentElement())) {
       return new DartModelStatusImpl(DartModelStatusConstants.INVALID_SIBLING, anchorElement);
     }
   }
   return DartModelStatusImpl.VERIFIED_OK;
 }