code: @NullSafe
    public static String getName(Thread thread) {
      return (thread != null ? thread.getName() : null);
    }
docs: A null-safe method for getting the Thread's name.
  
  @param thread the Thread from which the name is returned.
  @return a String indicating the name of the specified Thread or null if the Thread is null.
  @see java.lang.Thread#getName()