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

Method isSubtypeOf

output/java_guava/1.4.18/TypeToken.java:1023–1030  ·  view source on GitHub ↗
(Type supertype)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

isSubtypeOfMethod · 0.45
ofMethod · 0.45

Tested by

no test coverage detected