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

Method isArray

output/java_guava/1.4.18/TypeToken.java:525–527  ·  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

523
524
525 public final boolean isArray() {
526 return getComponentType() != null;
527 }
528
529 /**
530 * 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