docs: public static CharSequence getText(@NonNull final Context context,
                                         @StyleRes final int themeResourceId,
                                         @AttrRes final int resourceId) {
          TypedArray typedArray = null;
  
          try {
              typedArray = obtainStyledAttributes(context, themeResourceId, resourceId);
              CharSequence text = typedArray.getText(0);
  
              if (text == null) {
                  throw new NotFoundException(
                          "Resource ID #0x" + Integer.toHexString(resourceId) + " is not valid");
              }
  
              return text;
          } finally {
              if (typedArray != null) {
                  typedArray.recycle();
              }
          }
      }