MCPcopy Index your code
hub / github.com/antlr/codebuff / rawTypes

Method rawTypes

output/java_guava/1.4.17/TypeToken.java:753–764  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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