docs: private static TypedArray obtainStyledAttributes(@NonNull final Context context,
                                                       @StyleRes final int themeResourceId,
                                                       @AttrRes final int resourceId) {
          Condition.INSTANCE.ensureNotNull(context, "The context may not be null");
          Theme theme = context.getTheme();
          int[] attrs = new int[]{resourceId};
  
          if (themeResourceId != -1) {
              return theme.obtainStyledAttributes(themeResourceId, attrs);
          } else {
              return theme.obtainStyledAttributes(attrs);
          }
      }