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

Method isPrimitive

output/java_guava/1.4.18/TypeToken.java:536–539  ·  view source on GitHub ↗

Returns true if this type is one of the nine primitive types (including void). @since 15.0

()

Source from the content-addressed store, hash-verified

534
535
536 public final boolean isPrimitive() {
537 return (runtimeType instanceof Class)
538 && ((Class<?>) runtimeType).isPrimitive();
539 }
540
541 /**
542 * Returns the corresponding wrapper type if this is a primitive type; otherwise returns

Callers 3

wrapMethod · 0.95
disallowPrimitiveTypeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected