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

Method isSupertypeOf

output/java_guava/1.4.19/TypeToken.java:1034–1042  ·  view source on GitHub ↗
(Type subtype)

Source from the content-addressed store, hash-verified

1032
1033
1034 boolean isSupertypeOf(Type subtype) {
1035 TypeToken<?> type = of(subtype);
1036 for (Type bound : bounds) {
1037 if (type.isSubtypeOf(bound) == target) {
1038 return target;
1039 }
1040 }
1041 return !target;
1042 }
1043 }
1044
1045

Callers

nothing calls this directly

Calls 2

ofMethod · 0.45
isSubtypeOfMethod · 0.45

Tested by

no test coverage detected