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

Method isSupertypeOf

output/java_guava/1.4.17/TypeToken.java:442–444  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 3

isSubtypeOfMethod · 0.45
isMethod · 0.45
returningMethod · 0.45

Calls 3

getTypeMethod · 0.95
ofMethod · 0.95
isSubtypeOfMethod · 0.45

Tested by

no test coverage detected