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

Method isSubtypeOf

output/java_guava/1.4.19/TypeToken.java:1024–1031  ·  view source on GitHub ↗
(Type supertype)

Source from the content-addressed store, hash-verified

1022
1023
1024 boolean isSubtypeOf(Type supertype) {
1025 for (Type bound : bounds) {
1026 if (of(bound).isSubtypeOf(supertype) == target) {
1027 return target;
1028 }
1029 }
1030 return !target;
1031 }
1032
1033
1034 boolean isSupertypeOf(Type subtype) {

Callers

nothing calls this directly

Calls 2

isSubtypeOfMethod · 0.45
ofMethod · 0.45

Tested by

no test coverage detected