code: @SuppressWarnings("unchecked")
      public static <T> Class<T> erasure(Type type) {
          return EraserVisitor.ERASER.visit(type);
      }
docs: Get the {@link Class} representation of the given type.
  <p>
  This corresponds to the notion of the erasure in JSR-14.
  
  @param type type to provide the erasure for.
  @return the given type's erasure.