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