MCPcopy
hub / github.com/google/guava / rawTypes

Method rawTypes

guava/src/com/google/common/reflect/TypeToken.java:711–717  ·  view source on GitHub ↗

Returns the raw types of the types in this set, in the same order.

()

Source from the content-addressed store, hash-verified

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

Calls 3

copyOfMethod · 0.95
collectTypesMethod · 0.45
getRawTypesMethod · 0.45