@NotNull public static PyMemberInfo<PyElement> findMember(@NotNull final PyClass pyClass,@NotNull final PyElement pyElement){
  final PyMemberInfo<PyElement> result=findMember(pyClass,new FindByElement(pyElement));
  if (result != null) {
    return result;
  }
  throw new IllegalArgumentException(String.format("Element %s not found in class %s or can't be moved",pyElement,pyClass));
}

@ NotNull public static PyMemberInfo < PyElement > findMember ( @ NotNull final PyClass pyClass , @ NotNull final PyElement pyElement ) { final PyMemberInfo < PyElement > result = findMember ( pyClass , new FindByElement ( pyElement ) ) ; if ( result != null ) { return result ; } throw new IllegalArgumentException ( String . format ( "Element %s not found in class %s or can't be moved" , pyElement , pyClass ) ) ; }
finds member in class .
