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

Method isSubtypeOf

output/java_guava/1.4.18/TypeToken.java:470–472  ·  view source on GitHub ↗

Returns true if this type is a subtype of the given type. "Subtype" 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

468
469
470 public final boolean isSubtypeOf(TypeToken<?> type) {
471 return isSubtypeOf(type.getType());
472 }
473
474 /**
475 * Returns true if this type is a subtype of the given {@code type}. "Subtype" is defined

Callers 7

isSupertypeOfMethod · 0.45
isSubtypeOfArrayTypeMethod · 0.45
isSupertypeOfArrayMethod · 0.45
isMethod · 0.45
isSubtypeOfMethod · 0.45
isSupertypeOfMethod · 0.45

Calls 13

anyMethod · 0.95
ofMethod · 0.95
isSubtypeOfArrayTypeMethod · 0.95
equalsMethod · 0.65
getTypeMethod · 0.45
checkNotNullMethod · 0.45
isSupertypeOfMethod · 0.45
getLowerBoundsMethod · 0.45
getUpperBoundsMethod · 0.45
getBoundsMethod · 0.45

Tested by

no test coverage detected