code: public static final Priority parsePriority(BigInteger priority)
     {
        return (priority == null ? null : Priority.getInstance(priority.intValue()));
     }
docs: Parse priority.
  
  
  @param priority priority value
  @return Priority instance