code: public Integer getPriority(Object obj) {
  		if (obj instanceof Class) {
  			return OrderUtils.getPriority((Class) obj);
  		}
  		else if (obj != null) {
  			return OrderUtils.getPriority(obj.getClass());
  		}
  		return null;
  	}
docs: This implementation checks retrieves a {@link javax.annotation.Priority}
  value, allowing for additional semantics over the regular {@link Order}
  annotation: typically, selecting one object over another in case of
  multiple matches but only one object to be returned.