/** * 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. */ @SuppressWarnings("unchecked") public static <T> Class<T> erasure(final Type type) { return eraser.visit(type); }
/** * 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. */ @SuppressWarnings("unchecked") public static <T> Class<T> erasure(final Type type) { return eraser.visit(type); }
/** * 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. */ @SuppressWarnings("unchecked") public static <T> Class<T> erasure(final Type type) { return eraser.visit(type); }
/** * 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. */ @SuppressWarnings("unchecked") public static <T> Class<T> erasure(final Type type) { return eraser.visit(type); }
/** * 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. */ @SuppressWarnings("unchecked") public static <T> Class<T> erasure(final Type type) { return eraser.visit(type); }
/** * 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. */ @SuppressWarnings("unchecked") public static <T> Class<T> erasure(final Type type) { return eraser.visit(type); }
/** * 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. */ @SuppressWarnings("unchecked") public static <T> Class<T> erasure(final Type type) { return eraser.visit(type); }