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

Method hasJavaClass

src/jvm/clojure/lang/Compiler.java:3294–3303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3292 }
3293
3294 public boolean hasJavaClass() {
3295 return thenExpr.hasJavaClass()
3296 && elseExpr.hasJavaClass()
3297 &&
3298 (thenExpr.getJavaClass() == elseExpr.getJavaClass()
3299 || thenExpr.getJavaClass() == RECUR_CLASS
3300 || elseExpr.getJavaClass() == RECUR_CLASS
3301 || (thenExpr.getJavaClass() == null && !elseExpr.getJavaClass().isPrimitive())
3302 || (elseExpr.getJavaClass() == null && !thenExpr.getJavaClass().isPrimitive()));
3303 }
3304
3305 public boolean canEmitPrimitive(){
3306 try

Callers

nothing calls this directly

Calls 3

isPrimitiveMethod · 0.80
hasJavaClassMethod · 0.65
getJavaClassMethod · 0.65

Tested by

no test coverage detected