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

Method isArray

output/java_guava/1.4.19/TypeToken.java:524–526  ·  view source on GitHub ↗

Returns true if this type is known to be an array type, such as int[], T[], <? extends Map []> etc.

()

Source from the content-addressed store, hash-verified

522
523
524 public final boolean isArray() {
525 return getComponentType() != null;
526 }
527
528 /**
529 * Returns true if this type is one of the nine primitive types (including {@code void}).

Callers 7

getSubtypeMethod · 0.95
getSupertypeMethod · 0.45
isSubtypeOfArrayTypeMethod · 0.45
isSupertypeOfArrayMethod · 0.45
toGenericTypeMethod · 0.45
usedInGenericTypeMethod · 0.45
toStringMethod · 0.45

Calls 1

getComponentTypeMethod · 0.95

Tested by

no test coverage detected