(Type supertype)
| 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) { |
nothing calls this directly
no test coverage detected