MCPcopy Index your code
hub / github.com/clojure/clojure / isPrimitive

Method isPrimitive

src/jvm/clojure/lang/Util.java:186–188  ·  view source on GitHub ↗
(Class c)

Source from the content-addressed store, hash-verified

184}
185
186static public boolean isPrimitive(Class c){
187 return c != null && c.isPrimitive() && !(c == Void.TYPE);
188}
189
190static public boolean isInteger(Object x){
191 return x instanceof Integer

Callers 15

canEmitPrimitiveMethod · 0.95
canEmitPrimitiveMethod · 0.95
maybePrimitiveTypeMethod · 0.95
canEmitPrimitiveMethod · 0.95
canEmitPrimitiveMethod · 0.95
emitBodyMethod · 0.95
hasJavaClassMethod · 0.95
canEmitPrimitiveMethod · 0.95
canEmitPrimitiveMethod · 0.95
invokeMethod · 0.80
emitBoxReturnMethod · 0.80
emitUnboxArgMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected