/**
  * Resolves the member described by the receiver and returns it if found. Returns <code>null
  * </code> if no corresponding member can be found.
  *
  * @return the resolved member or <code>null</code> if none is found
  * @throws DartModelException if accessing the Dart model fails
  */
 @SuppressWarnings("deprecation")
 protected Type resolveType() throws DartModelException {
   String typeName = String.valueOf(proposal.getSignature());
   Type type = project.findType(typeName);
   if (type == null) {
     type = project.findType(new String(proposal.getCompletion()));
   }
   return type;
 }