Returns the raw types of the types in this set, in the same order.
()
| 715 | |
| 716 | |
| 717 | public Set<Class<? super T>> rawTypes() { |
| 718 | // Java has no way to express ? super T when we parameterize TypeToken vs. Class. |
| 719 | @SuppressWarnings({"unchecked", "rawtypes"}) |
| 720 | ImmutableList<Class<? super T>> collectedTypes = (ImmutableList) TypeCollector.FOR_RAW_TYPE.collectTypes(getRawTypes()); |
| 721 | return ImmutableSet.copyOf(collectedTypes); |
| 722 | } |
| 723 | |
| 724 | |
| 725 | private static final long serialVersionUID = 0; |
no test coverage detected