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

Method isSupertypeOf

output/java_guava/1.4.18/TypeToken.java:1033–1041  ·  view source on GitHub ↗
(Type subtype)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ofMethod · 0.45
isSubtypeOfMethod · 0.45

Tested by

no test coverage detected