code: public static ResolvableType forRawClass(Class<?> sourceClass) {
          return new ResolvableType(sourceClass) {
              @Override
              public boolean isAssignableFrom(Class<?> other) {
                  return LettuceClassUtils.isAssignable(getRawClass(), other);
              }
          };
      }
docs: Return a {@link ResolvableType} for the specified {@link Class}, doing assignability checks against the raw class only
  (analogous to {@link Class#isAssignableFrom}, which this serves as a wrapper for. For example:
  {@code ResolvableType.forClass(MyArrayList.class)}.
  
  @param sourceClass the source class ({@code null} is semantically equivalent to {@code Object.class} for typical use
  cases here}
  @return a {@link ResolvableType} for the specified class
  @see #forClass(Class)
  @see #getRawClass()