MCPcopy Create free account
hub / github.com/antlr/codebuff / rawTypes

Method rawTypes

output/java_guava/1.4.19/TypeToken.java:754–765  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

752 }
753
754 @Override
755 public Set<Class<? super T>> rawTypes() {
756 // Java has no way to express ? super T when we parameterize TypeToken vs. Class.
757 @SuppressWarnings({"unchecked", "rawtypes"})
758 ImmutableList<Class<? super T>> collectedTypes = (ImmutableList) TypeCollector.FOR_RAW_TYPE.collectTypes(getRawTypes());
759 return FluentIterable.from(collectedTypes).filter(new Predicate<Class<?>>() {
760 @Override
761 public boolean apply(Class<?> type) {
762 return type.isInterface();
763 }
764 }).toSet();
765 }
766
767 @Override
768 public TypeSet classes() {

Callers

nothing calls this directly

Calls 5

fromMethod · 0.95
collectTypesMethod · 0.45
getRawTypesMethod · 0.45
toSetMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected