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

Method isPrimitive

output/java_guava/1.4.19/TypeToken.java:535–538  ·  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

533
534
535 public final boolean isPrimitive() {
536 return (runtimeType instanceof Class)
537 && ((Class<?>) runtimeType).isPrimitive();
538 }
539
540 /**
541 * 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