public static ParameterizedType parameterize(final Class<?> raw, final Type... typeArguments) {
        checkParameterizeMethodParameter(raw, typeArguments);
        return new ParameterizedTypeImpl(raw, raw.getEnclosingClass(), typeArguments);
    }
@Test
    void testParameterizeForNullType() {
        assertThrows(NullPointerException.class, () -> {
            TypeUtils.parameterize(List.class, (Type[]) null);
        });
    }