Returns true if this type is a supertype of the given type. "Supertype" is defined according to the rules for type arguments introduced with Java generics. @since 19.0
(TypeToken<?> type)
| 440 | |
| 441 | |
| 442 | public final boolean isSupertypeOf(TypeToken<?> type) { |
| 443 | return type.isSubtypeOf(getType()); |
| 444 | } |
| 445 | |
| 446 | /** |
| 447 | * Returns true if this type is a supertype of the given {@code type}. "Supertype" is defined |
no test coverage detected