docs: public static StackManipulation to(TypeDefinition typeDefinition) {
          if (typeDefinition.isPrimitive()) {
              throw new IllegalArgumentException("Cannot cast to primitive type: " + typeDefinition);
          }
          return new TypeCasting(typeDefinition.asErasure());
      }