code: private CharSequence getCharSequenceFromArguments(@NonNull final Bundle arguments,
                                                        @NonNull final String name) {
          CharSequence charSequence = arguments.getCharSequence(name);
  
          if (charSequence == null) {
              int resourceId = arguments.getInt(name, -1);
  
              if (resourceId != -1) {
                  charSequence = getText(resourceId);
              }
          }
  
          return charSequence;
      }
docs: Returns the char sequence, which is specified by a specific extra of the arguments, which
  have been passed to the fragment. The char sequence can either be specified as a string or as
  a resource id.
  
  @param arguments
  The arguments, which have been passed to the fragment, as an instance of the class
  {@link Bundle}. The arguments may not be null
  @param name
  The name of the extra, which specifies the char sequence, as a {@link String}. The
  name may not be null
  @return The char sequence, which is specified by the arguments, as an instance of the class
  {@link CharSequence} or null, if the arguments do not specify a char sequence with the given
  name